Diff
Modified: trunk/Source/WebCore/ChangeLog (251360 => 251361)
--- trunk/Source/WebCore/ChangeLog 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebCore/ChangeLog 2019-10-21 08:25:55 UTC (rev 251361)
@@ -1,3 +1,34 @@
+2019-10-21 Tim Horton <timothy_hor...@apple.com>
+
+ Clean up some includes to improve WebKit2 build speed
+ https://bugs.webkit.org/show_bug.cgi?id=203071
+
+ Reviewed by Wenson Hsieh.
+
+ No new tests, just shuffling code around.
+
+ * bindings/js/WindowProxy.cpp:
+ (WebCore::WindowProxy::WindowProxy):
+ (WebCore::WindowProxy::~WindowProxy):
+ (WebCore::WindowProxy::detachFromFrame):
+ (WebCore::WindowProxy::destroyJSWindowProxy):
+ (WebCore::WindowProxy::createJSWindowProxy):
+ (WebCore::WindowProxy::jsWindowProxiesAsVector const):
+ (WebCore::WindowProxy::clearJSWindowProxiesNotMatchingDOMWindow):
+ (WebCore::WindowProxy::setDOMWindow):
+ (WebCore::WindowProxy::attachDebugger):
+ (WebCore::WindowProxy::jsWindowProxies const):
+ (WebCore::WindowProxy::releaseJSWindowProxies):
+ (WebCore::WindowProxy::setJSWindowProxies):
+ * bindings/js/WindowProxy.h:
+ (WebCore::WindowProxy::existingJSWindowProxy const):
+ (WebCore::WindowProxy::jsWindowProxies const): Deleted.
+ (WebCore::WindowProxy::releaseJSWindowProxies): Deleted.
+ (WebCore::WindowProxy::setJSWindowProxies): Deleted.
+ * platform/graphics/cocoa/IOSurface.h:
+ * platform/graphics/cocoa/IOSurface.mm:
+ (WebCore::IOSurface::~IOSurface):
+
2019-10-21 Joonghun Park <jh718.p...@samsung.com>
[GTK] Unreviewed. Fix build warning: unused parameter ‘Foo’ [-Wunused-parameter] since r251320.
Modified: trunk/Source/WebCore/bindings/js/WindowProxy.cpp (251360 => 251361)
--- trunk/Source/WebCore/bindings/js/WindowProxy.cpp 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebCore/bindings/js/WindowProxy.cpp 2019-10-21 08:25:55 UTC (rev 251361)
@@ -54,6 +54,7 @@
WindowProxy::WindowProxy(AbstractFrame& frame)
: m_frame(&frame)
+ , m_jsWindowProxies(makeUniqueRef<ProxyMap>())
{
}
@@ -60,7 +61,7 @@
WindowProxy::~WindowProxy()
{
ASSERT(!m_frame);
- ASSERT(m_jsWindowProxies.isEmpty());
+ ASSERT(m_jsWindowProxies->isEmpty());
}
void WindowProxy::detachFromFrame()
@@ -70,9 +71,9 @@
m_frame = nullptr;
// It's likely that destroying windowProxies will create a lot of garbage.
- if (!m_jsWindowProxies.isEmpty()) {
- while (!m_jsWindowProxies.isEmpty()) {
- auto it = m_jsWindowProxies.begin();
+ if (!m_jsWindowProxies->isEmpty()) {
+ while (!m_jsWindowProxies->isEmpty()) {
+ auto it = m_jsWindowProxies->begin();
it->value->window()->setConsoleClient(nullptr);
destroyJSWindowProxy(*it->key);
}
@@ -82,8 +83,8 @@
void WindowProxy::destroyJSWindowProxy(DOMWrapperWorld& world)
{
- ASSERT(m_jsWindowProxies.contains(&world));
- m_jsWindowProxies.remove(&world);
+ ASSERT(m_jsWindowProxies->contains(&world));
+ m_jsWindowProxies->remove(&world);
world.didDestroyWindowProxy(this);
}
@@ -91,7 +92,7 @@
{
ASSERT(m_frame);
- ASSERT(!m_jsWindowProxies.contains(&world));
+ ASSERT(!m_jsWindowProxies->contains(&world));
ASSERT(m_frame->window());
VM& vm = world.vm();
@@ -98,7 +99,7 @@
Strong<JSWindowProxy> jsWindowProxy(vm, &JSWindowProxy::create(vm, *m_frame->window(), world));
Strong<JSWindowProxy> jsWindowProxy2(jsWindowProxy);
- m_jsWindowProxies.add(&world, jsWindowProxy);
+ m_jsWindowProxies->add(&world, jsWindowProxy);
world.didCreateWindowProxy(this);
return *jsWindowProxy.get();
}
@@ -105,7 +106,7 @@
Vector<JSC::Strong<JSWindowProxy>> WindowProxy::jsWindowProxiesAsVector() const
{
- return copyToVector(m_jsWindowProxies.values());
+ return copyToVector(m_jsWindowProxies->values());
}
JSDOMGlobalObject* WindowProxy::globalObject(DOMWrapperWorld& world)
@@ -128,7 +129,7 @@
void WindowProxy::clearJSWindowProxiesNotMatchingDOMWindow(AbstractDOMWindow* newDOMWindow, bool goingIntoBackForwardCache)
{
- if (m_jsWindowProxies.isEmpty())
+ if (m_jsWindowProxies->isEmpty())
return;
JSLockHolder lock(commonVM());
@@ -154,7 +155,7 @@
{
ASSERT(newDOMWindow);
- if (m_jsWindowProxies.isEmpty())
+ if (m_jsWindowProxies->isEmpty())
return;
ASSERT(m_frame);
@@ -189,7 +190,7 @@
void WindowProxy::attachDebugger(JSC::Debugger* debugger)
{
- for (auto& windowProxy : m_jsWindowProxies.values())
+ for (auto& windowProxy : m_jsWindowProxies->values())
windowProxy->attachDebugger(debugger);
}
@@ -198,4 +199,19 @@
return m_frame ? m_frame->window() : nullptr;
}
+WindowProxy::ProxyMap::ValuesConstIteratorRange WindowProxy::jsWindowProxies() const
+{
+ return m_jsWindowProxies->values();
+}
+
+WindowProxy::ProxyMap WindowProxy::releaseJSWindowProxies()
+{
+ return std::exchange(m_jsWindowProxies, makeUniqueRef<ProxyMap>());
+}
+
+void WindowProxy::setJSWindowProxies(ProxyMap&& windowProxies)
+{
+ m_jsWindowProxies = makeUniqueRef<ProxyMap>(WTFMove(windowProxies));
+}
+
} // namespace WebCore
Modified: trunk/Source/WebCore/bindings/js/WindowProxy.h (251360 => 251361)
--- trunk/Source/WebCore/bindings/js/WindowProxy.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebCore/bindings/js/WindowProxy.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -20,10 +20,10 @@
#pragma once
-#include "DOMWrapperWorld.h"
#include <_javascript_Core/Strong.h>
#include <wtf/HashMap.h>
#include <wtf/RefCounted.h>
+#include <wtf/UniqueRef.h>
namespace JSC {
class Debugger;
@@ -33,6 +33,7 @@
class AbstractDOMWindow;
class AbstractFrame;
+class DOMWrapperWorld;
class JSDOMGlobalObject;
class JSWindowProxy;
@@ -53,11 +54,11 @@
void destroyJSWindowProxy(DOMWrapperWorld&);
- ProxyMap::ValuesConstIteratorRange jsWindowProxies() const { return m_jsWindowProxies.values(); }
+ ProxyMap::ValuesConstIteratorRange jsWindowProxies() const;
Vector<JSC::Strong<JSWindowProxy>> jsWindowProxiesAsVector() const;
- ProxyMap releaseJSWindowProxies() { return std::exchange(m_jsWindowProxies, ProxyMap()); }
- void setJSWindowProxies(ProxyMap&& windowProxies) { m_jsWindowProxies = WTFMove(windowProxies); }
+ WEBCORE_EXPORT ProxyMap releaseJSWindowProxies();
+ WEBCORE_EXPORT void setJSWindowProxies(ProxyMap&&);
JSWindowProxy* jsWindowProxy(DOMWrapperWorld& world)
{
@@ -72,8 +73,8 @@
JSWindowProxy* existingJSWindowProxy(DOMWrapperWorld& world) const
{
- auto it = m_jsWindowProxies.find(&world);
- return (it != m_jsWindowProxies.end()) ? it->value.get() : nullptr;
+ auto it = m_jsWindowProxies->find(&world);
+ return (it != m_jsWindowProxies->end()) ? it->value.get() : nullptr;
}
WEBCORE_EXPORT JSDOMGlobalObject* globalObject(DOMWrapperWorld&);
@@ -94,7 +95,7 @@
WEBCORE_EXPORT JSWindowProxy& createJSWindowProxyWithInitializedScript(DOMWrapperWorld&);
AbstractFrame* m_frame;
- ProxyMap m_jsWindowProxies;
+ UniqueRef<ProxyMap> m_jsWindowProxies;
};
} // namespace WebCore
Modified: trunk/Source/WebCore/dom/DocumentStorageAccess.cpp (251360 => 251361)
--- trunk/Source/WebCore/dom/DocumentStorageAccess.cpp 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebCore/dom/DocumentStorageAccess.cpp 2019-10-21 08:25:55 UTC (rev 251361)
@@ -44,6 +44,13 @@
namespace WebCore {
+DocumentStorageAccess::DocumentStorageAccess(Document& document)
+ : m_document(document)
+{
+}
+
+DocumentStorageAccess::~DocumentStorageAccess() = default;
+
DocumentStorageAccess* DocumentStorageAccess::from(Document& document)
{
auto* supplement = static_cast<DocumentStorageAccess*>(Supplement<Document>::from(&document, supplementName()));
Modified: trunk/Source/WebCore/dom/DocumentStorageAccess.h (251360 => 251361)
--- trunk/Source/WebCore/dom/DocumentStorageAccess.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebCore/dom/DocumentStorageAccess.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -51,10 +51,8 @@
class DocumentStorageAccess final : public Supplement<Document>, public CanMakeWeakPtr<DocumentStorageAccess> {
WTF_MAKE_FAST_ALLOCATED;
public:
- explicit DocumentStorageAccess(Document& document)
- : m_document(document)
- {
- }
+ explicit DocumentStorageAccess(Document&);
+ ~DocumentStorageAccess();
static void hasStorageAccess(Document&, Ref<DeferredPromise>&&);
static void requestStorageAccess(Document&, Ref<DeferredPromise>&&);
Modified: trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.h (251360 => 251361)
--- trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -29,7 +29,6 @@
#include <objc/objc.h>
#include <pal/spi/cocoa/IOSurfaceSPI.h>
-#include "GraphicsContext.h"
#include "IntSize.h"
#if PLATFORM(IOS_FAMILY) && !PLATFORM(MACCATALYST)
@@ -43,6 +42,7 @@
namespace WebCore {
+class GraphicsContext;
class HostWindow;
#if USE(IOSURFACE_CANVAS_BACKING_STORE)
@@ -104,6 +104,8 @@
static std::unique_ptr<IOSurface> createFromImageBuffer(std::unique_ptr<ImageBuffer>);
#endif
+ WEBCORE_EXPORT ~IOSurface();
+
WEBCORE_EXPORT static void moveToPool(std::unique_ptr<IOSurface>&&);
static IntSize maximumSize();
Modified: trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm (251360 => 251361)
--- trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebCore/platform/graphics/cocoa/IOSurface.mm 2019-10-21 08:25:55 UTC (rev 251361)
@@ -232,6 +232,8 @@
m_totalBytes = IOSurfaceGetAllocSize(surface);
}
+IOSurface::~IOSurface() = default;
+
IntSize IOSurface::maximumSize()
{
IntSize maxSize(clampToInteger(IOSurfaceGetPropertyMaximum(kIOSurfaceWidth)), clampToInteger(IOSurfaceGetPropertyMaximum(kIOSurfaceHeight)));
Modified: trunk/Source/WebKit/ChangeLog (251360 => 251361)
--- trunk/Source/WebKit/ChangeLog 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/ChangeLog 2019-10-21 08:25:55 UTC (rev 251361)
@@ -1,3 +1,44 @@
+2019-10-21 Tim Horton <timothy_hor...@apple.com>
+
+ Clean up some includes to improve WebKit2 build speed
+ https://bugs.webkit.org/show_bug.cgi?id=203071
+
+ Reviewed by Wenson Hsieh.
+
+ This is worth about 6% on WebKit2, and unlocks another 8% improvement
+ down the line (but which is less mechanical).
+
+ * NetworkProcess/Classifier/ResourceLoadStatisticsStore.cpp:
+ * NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h:
+ * NetworkProcess/NetworkSocketChannel.h:
+ * NetworkProcess/WebStorage/StorageArea.h:
+ * NetworkProcess/WebStorage/StorageManager.cpp:
+ * NetworkProcess/WebStorage/StorageManagerSet.cpp:
+ * Platform/IPC/Connection.h:
+ * Shared/API/APIURL.h:
+ * Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.h:
+ * Shared/WebCoreArgumentCoders.cpp:
+ * Shared/WebCoreArgumentCoders.h:
+ * UIProcess/API/APIAttachment.h:
+ * UIProcess/API/Cocoa/_WKInspector.mm:
+ * UIProcess/RemoteLayerTree/RemoteLayerTreeNode.h:
+ * UIProcess/TextCheckerCompletion.cpp:
+ * UIProcess/TextCheckerCompletion.h:
+ * UIProcess/UserContent/WebUserContentControllerProxy.cpp:
+ (WebKit::WebUserContentControllerProxy::addNetworkProcess):
+ (WebKit::WebUserContentControllerProxy::removeNetworkProcess):
+ * UIProcess/UserContent/WebUserContentControllerProxy.h:
+ (WebKit::WebUserContentControllerProxy::addNetworkProcess): Deleted.
+ (WebKit::WebUserContentControllerProxy::removeNetworkProcess): Deleted.
+ * WebProcess/Automation/WebAutomationSessionProxy.h:
+ * WebProcess/Network/NetworkProcessConnection.cpp:
+ * WebProcess/Network/NetworkProcessConnection.h:
+ * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
+ * WebProcess/Plugins/PDF/PDFPlugin.mm:
+ * WebProcess/Plugins/Plugin.cpp:
+ * WebProcess/Plugins/Plugin.h:
+ * WebProcess/WebProcess.cpp:
+
2019-10-20 Brent Fulgham <bfulg...@apple.com>
Improve serialization logic
Modified: trunk/Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsStore.cpp (251360 => 251361)
--- trunk/Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsStore.cpp 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsStore.cpp 2019-10-21 08:25:55 UTC (rev 251361)
@@ -42,6 +42,7 @@
#include <WebCore/NetworkStorageSession.h>
#include <WebCore/ResourceLoadStatistics.h>
#include <wtf/CallbackAggregator.h>
+#include <wtf/CrossThreadCopier.h>
#include <wtf/DateMath.h>
#include <wtf/MathExtras.h>
#include <wtf/text/StringBuilder.h>
Modified: trunk/Source/WebKit/NetworkProcess/Classifier/StorageAccessStatus.h (251360 => 251361)
--- trunk/Source/WebKit/NetworkProcess/Classifier/StorageAccessStatus.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/NetworkProcess/Classifier/StorageAccessStatus.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -25,6 +25,8 @@
#pragma once
+#include <wtf/EnumTraits.h>
+
namespace WebKit {
enum class StorageAccessStatus : uint8_t {
Modified: trunk/Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h (251360 => 251361)
--- trunk/Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -27,7 +27,6 @@
#if ENABLE(RESOURCE_LOAD_STATISTICS)
-#include "Connection.h"
#include "StorageAccessStatus.h"
#include "WebPageProxyIdentifier.h"
#include "WebsiteDataType.h"
@@ -105,7 +104,7 @@
static const OptionSet<WebsiteDataType>& monitoredDataTypes();
- WorkQueue& statisticsQueue() { return m_statisticsQueue.get(); }
+ WTF::WorkQueue& statisticsQueue() { return m_statisticsQueue.get(); }
void setNotifyPagesWhenDataRecordsWereScanned(bool);
void setNotifyPagesWhenTelemetryWasCaptured(bool, CompletionHandler<void()>&&);
@@ -206,7 +205,7 @@
void flushAndDestroyPersistentStore();
WeakPtr<NetworkSession> m_networkSession;
- Ref<WorkQueue> m_statisticsQueue;
+ Ref<WTF::WorkQueue> m_statisticsQueue;
std::unique_ptr<ResourceLoadStatisticsStore> m_statisticsStore;
std::unique_ptr<ResourceLoadStatisticsPersistentStorage> m_persistentStorage;
Modified: trunk/Source/WebKit/NetworkProcess/NetworkSocketChannel.h (251360 => 251361)
--- trunk/Source/WebKit/NetworkProcess/NetworkSocketChannel.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/NetworkProcess/NetworkSocketChannel.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -29,6 +29,7 @@
#include "MessageSender.h"
#include <pal/SessionID.h>
#include <wtf/CompletionHandler.h>
+#include <wtf/WeakPtr.h>
namespace WebCore {
class ResourceRequest;
Modified: trunk/Source/WebKit/NetworkProcess/WebStorage/StorageArea.h (251360 => 251361)
--- trunk/Source/WebKit/NetworkProcess/WebStorage/StorageArea.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/NetworkProcess/WebStorage/StorageArea.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -30,6 +30,7 @@
#include "StorageAreaImplIdentifier.h"
#include <WebCore/SecurityOriginData.h>
#include <wtf/Forward.h>
+#include <wtf/WeakPtr.h>
namespace WebCore {
class StorageMap;
Modified: trunk/Source/WebKit/NetworkProcess/WebStorage/StorageManager.cpp (251360 => 251361)
--- trunk/Source/WebKit/NetworkProcess/WebStorage/StorageManager.cpp 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/NetworkProcess/WebStorage/StorageManager.cpp 2019-10-21 08:25:55 UTC (rev 251361)
@@ -39,6 +39,7 @@
#include <WebCore/StorageMap.h>
#include <WebCore/TextEncoding.h>
#include <memory>
+#include <wtf/CrossThreadCopier.h>
#include <wtf/WorkQueue.h>
namespace WebKit {
Modified: trunk/Source/WebKit/NetworkProcess/WebStorage/StorageManagerSet.cpp (251360 => 251361)
--- trunk/Source/WebKit/NetworkProcess/WebStorage/StorageManagerSet.cpp 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/NetworkProcess/WebStorage/StorageManagerSet.cpp 2019-10-21 08:25:55 UTC (rev 251361)
@@ -30,6 +30,7 @@
#include "StorageAreaMapMessages.h"
#include "StorageManagerSetMessages.h"
#include <WebCore/TextEncoding.h>
+#include <wtf/CrossThreadCopier.h>
#include <wtf/threads/BinarySemaphore.h>
namespace WebKit {
Modified: trunk/Source/WebKit/Platform/IPC/Connection.h (251360 => 251361)
--- trunk/Source/WebKit/Platform/IPC/Connection.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/Platform/IPC/Connection.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -32,7 +32,6 @@
#include "Encoder.h"
#include "HandleMessage.h"
#include "MessageReceiver.h"
-#include <WebCore/ScriptDisallowedScope.h>
#include <atomic>
#include <wtf/Condition.h>
#include <wtf/Deque.h>
Modified: trunk/Source/WebKit/Shared/API/APIURL.h (251360 => 251361)
--- trunk/Source/WebKit/Shared/API/APIURL.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/Shared/API/APIURL.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -26,7 +26,7 @@
#pragma once
#include "APIObject.h"
-#include "WebCoreArgumentCoders.h"
+#include "ArgumentCoders.h"
#include <wtf/Forward.h>
#include <wtf/URL.h>
#include <wtf/text/WTFString.h>
Modified: trunk/Source/WebKit/Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.h (251360 => 251361)
--- trunk/Source/WebKit/Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -27,6 +27,7 @@
#if ENABLE(APPLE_PAY)
+#import <WebCore/ApplePaySessionPaymentRequest.h>
#import <pal/spi/cocoa/PassKitSPI.h>
namespace WebKit {
Modified: trunk/Source/WebKit/Shared/CacheModel.h (251360 => 251361)
--- trunk/Source/WebKit/Shared/CacheModel.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/Shared/CacheModel.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -26,6 +26,7 @@
#pragma once
#include <stdint.h>
+#include <wtf/EnumTraits.h>
#include <wtf/Forward.h>
#include <wtf/Seconds.h>
Modified: trunk/Source/WebKit/Shared/WebCoreArgumentCoders.cpp (251360 => 251361)
--- trunk/Source/WebKit/Shared/WebCoreArgumentCoders.cpp 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/Shared/WebCoreArgumentCoders.cpp 2019-10-21 08:25:55 UTC (rev 251361)
@@ -32,6 +32,7 @@
#include <WebCore/AuthenticationChallenge.h>
#include <WebCore/BlobPart.h>
#include <WebCore/CacheQueryOptions.h>
+#include <WebCore/CacheStorageConnection.h>
#include <WebCore/CertificateInfo.h>
#include <WebCore/CompositionUnderline.h>
#include <WebCore/Credential.h>
Modified: trunk/Source/WebKit/Shared/WebCoreArgumentCoders.h (251360 => 251361)
--- trunk/Source/WebKit/Shared/WebCoreArgumentCoders.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/Shared/WebCoreArgumentCoders.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -27,7 +27,6 @@
#include "ArgumentCoders.h"
#include <WebCore/AutoplayEvent.h>
-#include <WebCore/CacheStorageConnection.h>
#include <WebCore/ColorSpace.h>
#include <WebCore/DiagnosticLoggingClient.h>
#include <WebCore/FrameLoaderTypes.h>
@@ -41,6 +40,7 @@
#include <WebCore/ServiceWorkerTypes.h>
#include <WebCore/StoredCredentialsPolicy.h>
#include <WebCore/WorkerType.h>
+#include <wtf/EnumTraits.h>
#if ENABLE(APPLE_PAY)
#include <WebCore/PaymentHeaders.h>
@@ -184,7 +184,12 @@
#if ENABLE(INDEXED_DATABASE)
using IDBKeyPath = Variant<String, Vector<String>>;
#endif
+
+namespace DOMCacheEngine {
+struct CacheInfo;
+struct Record;
}
+}
namespace IPC {
Modified: trunk/Source/WebKit/UIProcess/API/APIAttachment.h (251360 => 251361)
--- trunk/Source/WebKit/UIProcess/API/APIAttachment.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/UIProcess/API/APIAttachment.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -28,8 +28,8 @@
#if ENABLE(ATTACHMENT_ELEMENT)
#include "APIObject.h"
+#include "GenericCallback.h"
#include "WKBase.h"
-#include "WebPageProxy.h"
#include <wtf/RefPtr.h>
#include <wtf/WeakPtr.h>
#include <wtf/text/WTFString.h>
Modified: trunk/Source/WebKit/UIProcess/API/Cocoa/_WKInspector.mm (251360 => 251361)
--- trunk/Source/WebKit/UIProcess/API/Cocoa/_WKInspector.mm 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/UIProcess/API/Cocoa/_WKInspector.mm 2019-10-21 08:25:55 UTC (rev 251361)
@@ -27,6 +27,7 @@
#import "_WKInspector.h"
#import "WKWebViewInternal.h"
+#import "WebPageProxy.h"
#import "WebProcessProxy.h"
#import "_WKFrameHandleInternal.h"
#import "_WKInspectorInternal.h"
Modified: trunk/Source/WebKit/UIProcess/Cocoa/SOAuthorization/WKSOAuthorizationDelegate.mm (251360 => 251361)
--- trunk/Source/WebKit/UIProcess/Cocoa/SOAuthorization/WKSOAuthorizationDelegate.mm 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/UIProcess/Cocoa/SOAuthorization/WKSOAuthorizationDelegate.mm 2019-10-21 08:25:55 UTC (rev 251361)
@@ -29,6 +29,7 @@
#if HAVE(APP_SSO)
#import "SOAuthorizationSession.h"
+#import "WebPageProxy.h"
#import <wtf/RunLoop.h>
@implementation WKSOAuthorizationDelegate
Modified: trunk/Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.h (251360 => 251361)
--- trunk/Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeNode.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -30,6 +30,7 @@
#include <wtf/Vector.h>
OBJC_CLASS CALayer;
+OBJC_CLASS NSString;
#if PLATFORM(IOS_FAMILY)
OBJC_CLASS UIView;
#endif
Modified: trunk/Source/WebKit/UIProcess/TextCheckerCompletion.cpp (251360 => 251361)
--- trunk/Source/WebKit/UIProcess/TextCheckerCompletion.cpp 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/UIProcess/TextCheckerCompletion.cpp 2019-10-21 08:25:55 UTC (rev 251361)
@@ -26,6 +26,8 @@
#include "config.h"
#include "TextCheckerCompletion.h"
+#include "WebPageProxy.h"
+
namespace WebKit {
using namespace WebCore;
Modified: trunk/Source/WebKit/UIProcess/TextCheckerCompletion.h (251360 => 251361)
--- trunk/Source/WebKit/UIProcess/TextCheckerCompletion.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/UIProcess/TextCheckerCompletion.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -25,12 +25,15 @@
#pragma once
-#include "WebPageProxy.h"
#include <WebCore/TextChecking.h>
#include <wtf/Forward.h>
namespace WebKit {
+using SpellDocumentTag = int64_t;
+
+class WebPageProxy;
+
class TextCheckerCompletion : public RefCounted<TextCheckerCompletion> {
public:
static Ref<TextCheckerCompletion> create(uint64_t requestID, const WebCore::TextCheckingRequestData&, WebPageProxy*);
Modified: trunk/Source/WebKit/UIProcess/UserContent/WebUserContentControllerProxy.cpp (251360 => 251361)
--- trunk/Source/WebKit/UIProcess/UserContent/WebUserContentControllerProxy.cpp 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/UIProcess/UserContent/WebUserContentControllerProxy.cpp 2019-10-21 08:25:55 UTC (rev 251361)
@@ -84,6 +84,18 @@
#endif
}
+#if ENABLE(CONTENT_EXTENSIONS)
+void WebUserContentControllerProxy::addNetworkProcess(NetworkProcessProxy& proxy)
+{
+ m_networkProcesses.add(proxy);
+}
+
+void WebUserContentControllerProxy::removeNetworkProcess(NetworkProcessProxy& proxy)
+{
+ m_networkProcesses.remove(proxy);
+}
+#endif
+
void WebUserContentControllerProxy::addProcess(WebProcessProxy& webProcessProxy, WebPageCreationParameters& parameters)
{
ASSERT(!m_processes.hasNullReferences());
Modified: trunk/Source/WebKit/UIProcess/UserContent/WebUserContentControllerProxy.h (251360 => 251361)
--- trunk/Source/WebKit/UIProcess/UserContent/WebUserContentControllerProxy.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/UIProcess/UserContent/WebUserContentControllerProxy.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -27,8 +27,8 @@
#include "APIObject.h"
#include "MessageReceiver.h"
-#include "NetworkProcessProxy.h"
#include "UserContentControllerIdentifier.h"
+#include "WebPageProxyIdentifier.h"
#include <WebCore/PageIdentifier.h>
#include <wtf/Forward.h>
#include <wtf/HashCountedSet.h>
@@ -97,8 +97,8 @@
void removeAllUserMessageHandlers(API::UserContentWorld&);
#if ENABLE(CONTENT_EXTENSIONS)
- void addNetworkProcess(NetworkProcessProxy& proxy) { m_networkProcesses.add(proxy); }
- void removeNetworkProcess(NetworkProcessProxy& proxy) { m_networkProcesses.remove(proxy); }
+ void addNetworkProcess(NetworkProcessProxy&);
+ void removeNetworkProcess(NetworkProcessProxy&);
void addContentRuleList(API::ContentRuleList&);
void removeContentRuleList(const String&);
Modified: trunk/Source/WebKit/UIProcess/WebPasteboardProxy.h (251360 => 251361)
--- trunk/Source/WebKit/UIProcess/WebPasteboardProxy.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/UIProcess/WebPasteboardProxy.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -28,6 +28,7 @@
#include "MessageReceiver.h"
#include "SandboxExtension.h"
#include "SharedMemory.h"
+#include <WebCore/SharedBuffer.h>
#include <wtf/Forward.h>
#include <wtf/HashSet.h>
Modified: trunk/Source/WebKit/UIProcess/WebsiteData/curl/WebsiteDataStoreCurl.cpp (251360 => 251361)
--- trunk/Source/WebKit/UIProcess/WebsiteData/curl/WebsiteDataStoreCurl.cpp 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/UIProcess/WebsiteData/curl/WebsiteDataStoreCurl.cpp 2019-10-21 08:25:55 UTC (rev 251361)
@@ -27,6 +27,7 @@
#include "WebsiteDataStore.h"
#include "NetworkProcessMessages.h"
+#include "WebCoreArgumentCoders.h"
#include "WebProcessPool.h"
#include "WebsiteDataStoreParameters.h"
Modified: trunk/Source/WebKit/UIProcess/ios/PageClientImplIOS.mm (251360 => 251361)
--- trunk/Source/WebKit/UIProcess/ios/PageClientImplIOS.mm 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/UIProcess/ios/PageClientImplIOS.mm 2019-10-21 08:25:55 UTC (rev 251361)
@@ -52,6 +52,7 @@
#import "WebContextMenuProxy.h"
#import "WebDataListSuggestionsDropdownIOS.h"
#import "WebEditCommandProxy.h"
+#import "WebPageProxy.h"
#import "WebProcessProxy.h"
#import "_WKDownloadInternal.h"
#import <WebCore/DOMPasteAccess.h>
Modified: trunk/Source/WebKit/WebProcess/Automation/WebAutomationSessionProxy.h (251360 => 251361)
--- trunk/Source/WebKit/WebProcess/Automation/WebAutomationSessionProxy.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/WebProcess/Automation/WebAutomationSessionProxy.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -29,6 +29,7 @@
#include "CoordinateSystem.h"
#include <_javascript_Core/JSBase.h>
#include <WebCore/FrameIdentifier.h>
+#include <WebCore/IntRect.h>
#include <WebCore/PageIdentifier.h>
#include <wtf/text/WTFString.h>
Modified: trunk/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp (251360 => 251361)
--- trunk/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/WebProcess/Network/NetworkProcessConnection.cpp 2019-10-21 08:25:55 UTC (rev 251361)
@@ -33,6 +33,7 @@
#include "StorageAreaMapMessages.h"
#include "WebCacheStorageProvider.h"
#include "WebCoreArgumentCoders.h"
+#include "WebIDBConnectionToServer.h"
#include "WebIDBConnectionToServerMessages.h"
#include "WebLoaderStrategy.h"
#include "WebMDNSRegisterMessages.h"
Modified: trunk/Source/WebKit/WebProcess/Network/NetworkProcessConnection.h (251360 => 251361)
--- trunk/Source/WebKit/WebProcess/Network/NetworkProcessConnection.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/WebProcess/Network/NetworkProcessConnection.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -28,7 +28,6 @@
#include "Connection.h"
#include "ShareableResource.h"
-#include "WebIDBConnectionToServer.h"
#include <WebCore/MessagePortChannelProvider.h>
#include <WebCore/ServiceWorkerTypes.h>
#include <wtf/RefCounted.h>
@@ -48,6 +47,7 @@
namespace WebKit {
+class WebIDBConnectionToServer;
class WebSWClientConnection;
typedef uint64_t ResourceLoadIdentifier;
Modified: trunk/Source/WebKit/WebProcess/Plugins/Netscape/NetscapePlugin.cpp (251360 => 251361)
--- trunk/Source/WebKit/WebProcess/Plugins/Netscape/NetscapePlugin.cpp 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/WebProcess/Plugins/Netscape/NetscapePlugin.cpp 2019-10-21 08:25:55 UTC (rev 251361)
@@ -46,6 +46,10 @@
#include "NetscapePluginUnix.h"
#endif
+#if PLATFORM(COCOA)
+#include "LayerHostingContext.h"
+#endif
+
namespace WebKit {
using namespace WebCore;
Modified: trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm (251360 => 251361)
--- trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm 2019-10-21 08:25:55 UTC (rev 251361)
@@ -48,6 +48,7 @@
#import "WebProcess.h"
#import <_javascript_Core/JSContextRef.h>
#import <_javascript_Core/JSObjectRef.h>
+#import <_javascript_Core/OpaqueJSString.h>
#import <Quartz/Quartz.h>
#import <QuartzCore/QuartzCore.h>
#import <WebCore/AXObjectCache.h>
Modified: trunk/Source/WebKit/WebProcess/Plugins/Plugin.cpp (251360 => 251361)
--- trunk/Source/WebKit/WebProcess/Plugins/Plugin.cpp 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/WebProcess/Plugins/Plugin.cpp 2019-10-21 08:25:55 UTC (rev 251361)
@@ -30,6 +30,10 @@
#include <WebCore/IntPoint.h>
#include <wtf/SetForScope.h>
+#if PLATFORM(COCOA)
+#include "LayerHostingContext.h"
+#endif
+
namespace WebKit {
using namespace WebCore;
Modified: trunk/Source/WebKit/WebProcess/Plugins/Plugin.h (251360 => 251361)
--- trunk/Source/WebKit/WebProcess/Plugins/Plugin.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/WebProcess/Plugins/Plugin.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -26,16 +26,15 @@
#pragma once
#include <WebCore/FindOptions.h>
-#include <WebCore/GraphicsLayer.h>
+#include <WebCore/PlatformLayer.h>
#include <WebCore/ScrollTypes.h>
-#include <WebCore/SecurityOrigin.h>
#include <wtf/RefCounted.h>
#include <wtf/RetainPtr.h>
+#include <wtf/ThreadSafeRefCounted.h>
#include <wtf/URL.h>
#include <wtf/Vector.h>
#if PLATFORM(COCOA)
-#include "LayerHostingContext.h"
typedef struct objc_object* id;
OBJC_CLASS NSDictionary;
@@ -59,7 +58,6 @@
class IntPoint;
class IntRect;
class IntSize;
-class FloatPoint;
class Scrollbar;
class SharedBuffer;
}
@@ -79,6 +77,8 @@
PDFPluginType,
};
+enum class LayerHostingMode : uint8_t;
+
class Plugin : public ThreadSafeRefCounted<Plugin> {
public:
struct Parameters {
Modified: trunk/Source/WebKit/WebProcess/WebPage/WebPage.h (251360 => 251361)
--- trunk/Source/WebKit/WebProcess/WebPage/WebPage.h 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/WebProcess/WebPage/WebPage.h 2019-10-21 08:25:55 UTC (rev 251361)
@@ -212,6 +212,7 @@
class FindController;
class GamepadData;
class GeolocationPermissionRequestManager;
+class LayerHostingContext;
class MediaDeviceSandboxExtensions;
class NotificationPermissionRequestManager;
class PDFPlugin;
Modified: trunk/Source/WebKit/WebProcess/WebProcess.cpp (251360 => 251361)
--- trunk/Source/WebKit/WebProcess/WebProcess.cpp 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/WebProcess/WebProcess.cpp 2019-10-21 08:25:55 UTC (rev 251361)
@@ -53,6 +53,7 @@
#include "WebFrameNetworkingContext.h"
#include "WebGamepadProvider.h"
#include "WebGeolocationManager.h"
+#include "WebIDBConnectionToServer.h"
#include "WebLoaderStrategy.h"
#include "WebMediaKeyStorageManager.h"
#include "WebMemorySampler.h"
Modified: trunk/Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.mm (251360 => 251361)
--- trunk/Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.mm 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKit/WebProcess/cocoa/VideoFullscreenManager.mm 2019-10-21 08:25:55 UTC (rev 251361)
@@ -28,6 +28,7 @@
#if (PLATFORM(IOS_FAMILY) && HAVE(AVKIT)) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))
#import "Attachment.h"
+#import "LayerHostingContext.h"
#import "Logging.h"
#import "PlaybackSessionManager.h"
#import "VideoFullscreenManagerProxyMessages.h"
Modified: trunk/Source/WebKitLegacy/ios/WebView/WebPDFViewPlaceholder.mm (251360 => 251361)
--- trunk/Source/WebKitLegacy/ios/WebView/WebPDFViewPlaceholder.mm 2019-10-21 07:16:32 UTC (rev 251360)
+++ trunk/Source/WebKitLegacy/ios/WebView/WebPDFViewPlaceholder.mm 2019-10-21 08:25:55 UTC (rev 251361)
@@ -30,6 +30,7 @@
#import "WebFrameInternal.h"
#import "WebPDFViewIOS.h"
#import <_javascript_Core/JSContextRef.h>
+#import <_javascript_Core/OpaqueJSString.h>
#import <WebCore/DataTransfer.h>
#import <WebCore/EventHandler.h>
#import <WebCore/EventNames.h>