Skip to content

Commit 7afdb99

Browse files
Unreviewed, rolling out r225931.
Breaks internal builds. Reverted changeset: "Fix Mac CMake build" https://bugs.webkit.org/show_bug.cgi?id=180835 https://trac.webkit.org/changeset/225931 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@225949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 5c5fb5d commit 7afdb99

File tree

13 files changed

+45
-22
lines changed

13 files changed

+45
-22
lines changed

Source/WebCore/ChangeLog

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2017-12-14 Ryan Haddad <[email protected]>
2+
3+
Unreviewed, rolling out r225931.
4+
5+
Breaks internal builds.
6+
7+
Reverted changeset:
8+
9+
"Fix Mac CMake build"
10+
https://bugs.webkit.org/show_bug.cgi?id=180835
11+
https://trac.webkit.org/changeset/225931
12+
113
2017-12-14 Simon Fraser <[email protected]>
214

315
Another Windows build fix.

Source/WebCore/PlatformMac.cmake

-2
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,6 @@ set(WebCore_FORWARDING_HEADERS_DIRECTORIES
499499
svg
500500
workers
501501

502-
Modules/applicationmanifest
503502
Modules/applepay
504503
Modules/cache
505504
Modules/geolocation
@@ -592,7 +591,6 @@ set(WebCore_FORWARDING_HEADERS_DIRECTORIES
592591

593592
workers/service
594593

595-
workers/service/context
596594
workers/service/server
597595

598596
xml

Source/WebCore/platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
#pragma once
2727

28-
#if HAVE(AVCONTENTKEYSESSION) && ENABLE(ENCRYPTED_MEDIA)
28+
#if HAVE(AVCONTENTKEYSESSION)
2929

3030
#include "CDMInstance.h"
3131
#include <wtf/Function.h>

Source/WebKit/ChangeLog

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2017-12-14 Ryan Haddad <[email protected]>
2+
3+
Unreviewed, rolling out r225931.
4+
5+
Breaks internal builds.
6+
7+
Reverted changeset:
8+
9+
"Fix Mac CMake build"
10+
https://bugs.webkit.org/show_bug.cgi?id=180835
11+
https://trac.webkit.org/changeset/225931
12+
113
2017-12-14 Chris Dumez <[email protected]>
214

315
Clearing WebSite data on iOS does not clear the Fetch Cache

Source/WebKit/PlatformMac.cmake

+3-6
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ list(APPEND WebKit_SOURCES
7171

7272
Shared/APIWebArchive.mm
7373
Shared/APIWebArchiveResource.mm
74-
Shared/TouchBarMenuData.cpp
75-
Shared/TouchBarMenuItemData.cpp
7674

7775
Shared/Authentication/cocoa/AuthenticationManagerCocoa.mm
7876

@@ -227,7 +225,6 @@ list(APPEND WebKit_SOURCES
227225
UIProcess/API/Cocoa/WKWebsiteDataStore.mm
228226
UIProcess/API/Cocoa/WKWindowFeatures.mm
229227
UIProcess/API/Cocoa/_WKActivatedElementInfo.mm
230-
UIProcess/API/Cocoa/_WKApplicationManifest.mm
231228
UIProcess/API/Cocoa/_WKAttachment.mm
232229
UIProcess/API/Cocoa/_WKAutomationSession.mm
233230
UIProcess/API/Cocoa/_WKAutomationSessionConfiguration.mm
@@ -311,7 +308,6 @@ list(APPEND WebKit_SOURCES
311308
UIProcess/mac/WKFullScreenWindowController.mm
312309
UIProcess/mac/WKImmediateActionController.mm
313310
UIProcess/mac/WKInspectorViewController.mm
314-
UIProcess/mac/WKInspectorWKWebView.mm
315311
UIProcess/mac/WKPrintingView.mm
316312
UIProcess/mac/WKSharingServicePickerDelegate.mm
317313
UIProcess/mac/WKTextFinderClient.mm
@@ -484,8 +480,6 @@ set(WebKit_FORWARDING_HEADERS_FILES
484480
UIProcess/API/C/WKPageDiagnosticLoggingClient.h
485481
UIProcess/API/C/WKPageNavigationClient.h
486482
UIProcess/API/C/WKPageRenderingProgressEvents.h
487-
488-
WebProcess/WebPage/WebPageOverlay.h
489483
)
490484

491485
list(APPEND WebKit_MESSAGES_IN_FILES
@@ -523,6 +517,7 @@ set(WebKit_FORWARDING_HEADERS_DIRECTORIES
523517
Shared/API/c/cf
524518
Shared/API/c/mac
525519

520+
UIProcess
526521
UIProcess/Cocoa
527522

528523
UIProcess/API/C
@@ -531,6 +526,8 @@ set(WebKit_FORWARDING_HEADERS_DIRECTORIES
531526
UIProcess/API/C/mac
532527
UIProcess/API/cpp
533528

529+
WebProcess/WebPage
530+
534531
WebProcess/InjectedBundle/API/Cocoa
535532
WebProcess/InjectedBundle/API/c
536533
WebProcess/InjectedBundle/API/mac

Source/WebKit/Shared/WebsiteDataStoreParameters.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,4 @@ WebsiteDataStoreParameters WebsiteDataStoreParameters::legacyPrivateSessionParam
9191
return { { }, { }, { }, { }, WebsiteDataStore::defaultCacheStoragePerOriginQuota, { }, { PAL::SessionID::legacyPrivateSessionID(), { }, { }, { }}};
9292
}
9393

94-
WebsiteDataStoreParameters WebsiteDataStoreParameters::ephemeralParametersWithSessionID(PAL::SessionID sessionID)
95-
{
96-
ASSERT(sessionID.isEphemeral());
97-
return {{ }, { }, { }, { }, { }, { }, { sessionID, { }, { }, { }}};
98-
}
99-
10094
} // namespace WebKit

Source/WebKit/Shared/WebsiteDataStoreParameters.h

-2
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@ struct WebsiteDataStoreParameters {
4444
WebsiteDataStoreParameters(WebsiteDataStoreParameters&&) = default;
4545
WebsiteDataStoreParameters& operator=(WebsiteDataStoreParameters&&) = default;
4646
~WebsiteDataStoreParameters();
47-
4847
static WebsiteDataStoreParameters legacyPrivateSessionParameters();
49-
static WebsiteDataStoreParameters ephemeralParametersWithSessionID(PAL::SessionID);
5048

5149
void encode(IPC::Encoder&) const;
5250
static std::optional<WebsiteDataStoreParameters> decode(IPC::Decoder&);

Source/WebKit/UIProcess/API/APIAttachment.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
#pragma once
2727

2828
#include "APIObject.h"
29-
#include "WebPageProxy.h"
3029
#include <WebKit/WKBase.h>
30+
#include <WebKit/WebPageProxy.h>
3131
#include <wtf/RefPtr.h>
3232
#include <wtf/WeakPtr.h>
3333
#include <wtf/text/WTFString.h>

Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ void InjectedBundle::setPrivateBrowsingEnabled(WebPageGroupProxy* pageGroup, boo
321321
{
322322
if (enabled) {
323323
WebProcess::singleton().ensureLegacyPrivateBrowsingSessionInNetworkProcess();
324-
WebFrameNetworkingContext::ensureWebsiteDataStoreSession(WebsiteDataStoreParameters::legacyPrivateSessionParameters());
324+
WebFrameNetworkingContext::ensureWebsiteDataStoreSession({ { }, { }, { }, { }, { }, { }, { PAL::SessionID::legacyPrivateSessionID(), { }, { }, AllowsCellularAccess::Yes }});
325325
} else
326326
SessionTracker::destroySession(PAL::SessionID::legacyPrivateSessionID());
327327

Source/WebKit/WebProcess/WebPage/WebPage.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2742,7 +2742,7 @@ void WebPage::setLayerHostingMode(LayerHostingMode layerHostingMode)
27422742
void WebPage::setSessionID(PAL::SessionID sessionID)
27432743
{
27442744
if (sessionID.isEphemeral())
2745-
WebProcess::singleton().addWebsiteDataStore(WebsiteDataStoreParameters::ephemeralParametersWithSessionID(sessionID));
2745+
WebProcess::singleton().addWebsiteDataStore({{ }, { }, { }, { }, { }, { }, { sessionID, { }, { }, { }}});
27462746
m_page->setSessionID(sessionID);
27472747
}
27482748

Tools/ChangeLog

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2017-12-14 Ryan Haddad <[email protected]>
2+
3+
Unreviewed, rolling out r225931.
4+
5+
Breaks internal builds.
6+
7+
Reverted changeset:
8+
9+
"Fix Mac CMake build"
10+
https://bugs.webkit.org/show_bug.cgi?id=180835
11+
https://trac.webkit.org/changeset/225931
12+
113
2017-12-14 Devin Rousso <[email protected]>
214

315
Web Inspector: replace HTMLCanvasElement with CanvasRenderingContext for instrumentation logic

Tools/DumpRenderTree/mac/DumpRenderTree.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
#import <WebKit/WebFrameView.h>
7979
#import <WebKit/WebHistory.h>
8080
#import <WebKit/WebHistoryItemPrivate.h>
81+
#import <WebKit/WebInspector.h>
8182
#import <WebKit/WebKitNSStringExtras.h>
8283
#import <WebKit/WebPluginDatabase.h>
8384
#import <WebKit/WebPreferenceKeysPrivate.h>
@@ -86,7 +87,6 @@
8687
#import <WebKit/WebResourceLoadDelegate.h>
8788
#import <WebKit/WebStorageManagerPrivate.h>
8889
#import <WebKit/WebViewPrivate.h>
89-
#import <WebKitLegacy/WebInspector.h>
9090
#import <getopt.h>
9191
#import <wtf/Assertions.h>
9292
#import <wtf/FastMalloc.h>

Tools/MiniBrowser/mac/WK1BrowserWindowController.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727

2828
#import "AppDelegate.h"
2929
#import "SettingsController.h"
30+
#import <WebKit/WebInspector.h>
3031
#import <WebKit/WebKit.h>
3132
#import <WebKit/WebNSURLExtras.h>
3233
#import <WebKit/WebPreferences.h>
3334
#import <WebKit/WebPreferencesPrivate.h>
3435
#import <WebKit/WebPreferenceKeysPrivate.h>
3536
#import <WebKit/WebViewPrivate.h>
36-
#import <WebKitLegacy/WebInspector.h>
3737

3838
@interface WK1BrowserWindowController () <WebFrameLoadDelegate, WebPolicyDelegate, WebResourceLoadDelegate, WebUIDelegate>
3939
@end

0 commit comments

Comments
 (0)