Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (222112 => 222113)
--- trunk/Source/_javascript_Core/ChangeLog 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/_javascript_Core/ChangeLog 2017-09-15 21:28:55 UTC (rev 222113)
@@ -1,3 +1,17 @@
+2017-09-15 JF Bastien <[email protected]>
+
+ WTF: use Forward.h when appropriate instead of Vector.h
+ https://bugs.webkit.org/show_bug.cgi?id=176984
+
+ Reviewed by Saam Barati.
+
+ There's no need to include Vector.h when Forward.h will suffice. All we need is to move the template default parameters from Vector, and then the forward declaration can be used in so many new places: if a header only takes Vector by reference, rvalue reference, pointer, returns any of these, or has them as members then the header doesn't need to see the definition because the declaration will suffice.
+
+ * bytecode/HandlerInfo.h:
+ * heap/GCIncomingRefCounted.h:
+ * heap/GCSegmentedArray.h:
+ * wasm/js/JSWebAssemblyModule.h:
+
2017-09-14 Saam Barati <[email protected]>
We should have a way of preventing a caller from making a tail call and we should use it for ProxyObject instead of using build flags
Modified: trunk/Source/_javascript_Core/bytecode/HandlerInfo.h (222112 => 222113)
--- trunk/Source/_javascript_Core/bytecode/HandlerInfo.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/_javascript_Core/bytecode/HandlerInfo.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -26,7 +26,7 @@
#pragma once
#include "CodeLocation.h"
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace JSC {
Modified: trunk/Source/_javascript_Core/heap/GCIncomingRefCounted.h (222112 => 222113)
--- trunk/Source/_javascript_Core/heap/GCIncomingRefCounted.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/_javascript_Core/heap/GCIncomingRefCounted.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -26,7 +26,7 @@
#pragma once
#include <wtf/DeferrableRefCounted.h>
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace JSC {
Modified: trunk/Source/_javascript_Core/heap/GCSegmentedArray.h (222112 => 222113)
--- trunk/Source/_javascript_Core/heap/GCSegmentedArray.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/_javascript_Core/heap/GCSegmentedArray.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -26,7 +26,7 @@
#pragma once
#include <wtf/DoublyLinkedList.h>
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace JSC {
Modified: trunk/Source/_javascript_Core/wasm/js/JSWebAssemblyModule.h (222112 => 222113)
--- trunk/Source/_javascript_Core/wasm/js/JSWebAssemblyModule.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/_javascript_Core/wasm/js/JSWebAssemblyModule.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -32,7 +32,7 @@
#include "UnconditionalFinalizer.h"
#include "WasmModule.h"
#include <wtf/Bag.h>
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace JSC {
Modified: trunk/Source/WTF/ChangeLog (222112 => 222113)
--- trunk/Source/WTF/ChangeLog 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WTF/ChangeLog 2017-09-15 21:28:55 UTC (rev 222113)
@@ -1,3 +1,16 @@
+2017-09-15 JF Bastien <[email protected]>
+
+ WTF: use Forward.h when appropriate instead of Vector.h
+ https://bugs.webkit.org/show_bug.cgi?id=176984
+
+ Reviewed by Saam Barati.
+
+ There's no need to include Vector.h when Forward.h will suffice. All we need is to move the template default parameters from Vector, and then the forward declaration can be used in so many new places: if a header only takes Vector by reference, rvalue reference, pointer, returns any of these, or has them as members then the header doesn't need to see the definition because the declaration will suffice.
+
+ * wtf/Forward.h:
+ * wtf/Vector.h:
+ * wtf/text/StringVector.h:
+
2017-09-15 Keith Miller <[email protected]>
generate-unified-source-bundles.rb shouldn't write a file that isn't going to change
Modified: trunk/Source/WTF/wtf/Forward.h (222112 => 222113)
--- trunk/Source/WTF/wtf/Forward.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WTF/wtf/Forward.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -28,6 +28,9 @@
namespace WTF {
+struct FastMalloc;
+class CrashOnOverflow;
+
template<typename T> class Function;
template<typename T> class LazyNeverDestroyed;
template<typename T> class NeverDestroyed;
@@ -37,7 +40,7 @@
template<typename T> class StringBuffer;
template<typename... T> class Variant;
-template<typename T, size_t inlineCapacity, typename OverflowHandler, size_t minCapacity, typename Malloc> class Vector;
+template<typename T, size_t inlineCapacity = 0, typename OverflowHandler = CrashOnOverflow, size_t minCapacity = 16, typename Malloc = FastMalloc> class Vector;
class AtomicString;
class AtomicStringImpl;
Modified: trunk/Source/WTF/wtf/Vector.h (222112 => 222113)
--- trunk/Source/WTF/wtf/Vector.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WTF/wtf/Vector.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -28,6 +28,7 @@
#include <utility>
#include <wtf/CheckedArithmetic.h>
#include <wtf/FastMalloc.h>
+#include <wtf/Forward.h>
#include <wtf/MallocPtr.h>
#include <wtf/Noncopyable.h>
#include <wtf/NotFound.h>
@@ -575,7 +576,8 @@
}
};
-template<typename T, size_t inlineCapacity = 0, typename OverflowHandler = CrashOnOverflow, size_t minCapacity = 16, typename Malloc = FastMalloc>
+// Template default values are in Forward.h.
+template<typename T, size_t inlineCapacity, typename OverflowHandler, size_t minCapacity, typename Malloc>
class Vector : private VectorBuffer<T, inlineCapacity, Malloc> {
WTF_MAKE_FAST_ALLOCATED;
private:
Modified: trunk/Source/WTF/wtf/text/StringVector.h (222112 => 222113)
--- trunk/Source/WTF/wtf/text/StringVector.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WTF/wtf/text/StringVector.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -25,7 +25,7 @@
#pragma once
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
#include <wtf/text/StringMalloc.h>
namespace WTF {
Modified: trunk/Source/WebCore/ChangeLog (222112 => 222113)
--- trunk/Source/WebCore/ChangeLog 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/ChangeLog 2017-09-15 21:28:55 UTC (rev 222113)
@@ -1,3 +1,87 @@
+2017-09-15 JF Bastien <[email protected]>
+
+ WTF: use Forward.h when appropriate instead of Vector.h
+ https://bugs.webkit.org/show_bug.cgi?id=176984
+
+ Reviewed by Saam Barati.
+
+ There's no need to include Vector.h when Forward.h will suffice. All we need is to move the template default parameters from Vector, and then the forward declaration can be used in so many new places: if a header only takes Vector by reference, rvalue reference, pointer, returns any of these, or has them as members then the header doesn't need to see the definition because the declaration will suffice.
+
+ * Modules/entriesapi/FileSystemEntriesCallback.h:
+ * Modules/indexeddb/IDBEventDispatcher.h:
+ * Modules/indexeddb/IDBFactory.h:
+ * Modules/indexeddb/client/IDBConnectionProxy.h:
+ * Modules/indexeddb/server/IDBConnectionToClientDelegate.h:
+ * Modules/webdatabase/DatabaseTask.h:
+ * Modules/websockets/WebSocketChannelClient.h:
+ * contentextensions/CombinedURLFilters.h:
+ * crypto/SerializedCryptoKeyWrap.h:
+ * css/InspectorCSSOMWrappers.h:
+ * css/PageRuleCollector.h:
+ * css/parser/CSSParserTokenRange.h:
+ * dom/DocumentTouch.h:
+ * dom/MutationCallback.h:
+ * editing/EditingStyle.h:
+ * editing/SpellChecker.h:
+ * editing/markup.h:
+ * fileapi/ThreadableBlobRegistry.h:
+ * html/FileListCreator.h:
+ * inspector/WebHeapAgent.h:
+ * loader/ContentFilter.cpp:
+ (WebCore::ContentFilter::ContentFilter):
+ * loader/ContentFilter.h:
+ * loader/CookieJar.h:
+ * loader/FrameLoaderClient.h:
+ * loader/LoaderStrategy.h:
+ * loader/SubframeLoader.h:
+ * page/ChromeClient.h:
+ * page/FrameSnapshotting.h:
+ * page/IntersectionObserverCallback.h:
+ * page/PageSerializer.h:
+ * page/UserContentURLPattern.h:
+ * page/scrolling/AxisScrollSnapOffsets.h:
+ * page/win/FrameWin.h:
+ * platform/CookiesStrategy.h:
+ * platform/KeyedCoding.h:
+ * platform/PasteboardStrategy.h:
+ * platform/SSLKeyGenerator.h:
+ * platform/ScrollableArea.h:
+ * platform/encryptedmedia/CDMFactory.h:
+ * platform/gamepad/EmptyGamepadProvider.cpp:
+ * platform/gamepad/GamepadProvider.h:
+ * platform/gamepad/GamepadProviderClient.h:
+ * platform/gamepad/PlatformGamepad.h:
+ * platform/graphics/GeometryUtilities.cpp:
+ * platform/graphics/GeometryUtilities.h:
+ * platform/graphics/Icon.h:
+ * platform/graphics/LayoutRect.h:
+ * platform/graphics/Path.h:
+ * platform/graphics/WOFFFileFormat.h:
+ * platform/graphics/avfoundation/MediaSampleAVFObjC.h:
+ * platform/graphics/avfoundation/objc/AVAssetTrackUtilities.h:
+ * platform/graphics/ca/PlatformCAAnimation.h:
+ * platform/graphics/ca/win/PlatformCALayerWinInternal.h:
+ * platform/graphics/opentype/OpenTypeMathData.h:
+ * platform/image-encoders/JPEGImageEncoder.h:
+ * platform/image-encoders/PNGImageEncoder.h:
+ * platform/network/BlobRegistry.h:
+ * platform/network/HTTPParsers.h:
+ * platform/network/PlatformCookieJar.h:
+ * platform/network/cf/DownloadBundle.h:
+ * platform/network/curl/CurlCacheEntry.h:
+ * platform/network/curl/DownloadBundle.h:
+ * platform/text/LineEnding.h:
+ * platform/text/QuotedPrintable.cpp:
+ * platform/text/QuotedPrintable.h:
+ * rendering/FlexibleBoxAlgorithm.h:
+ * rendering/style/QuotesData.h:
+ * rendering/svg/SVGSubpathData.h:
+ * storage/StorageEventDispatcher.h:
+ * style/StyleInvalidator.h:
+ * style/StyleRelations.h:
+ * svg/SVGAltGlyphDefElement.h:
+ * svg/SVGAltGlyphItemElement.h:
+
2017-09-15 Youenn Fablet <[email protected]>
ASSERTION FAILED: writtenAudioDuration >= readAudioDuration in com.apple.WebCore:WebCore::RealtimeOutgoingAudioSource::isReachingBufferedAudioDataHighLimit() + 222
Modified: trunk/Source/WebCore/Modules/entriesapi/FileSystemEntriesCallback.h (222112 => 222113)
--- trunk/Source/WebCore/Modules/entriesapi/FileSystemEntriesCallback.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/Modules/entriesapi/FileSystemEntriesCallback.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -29,7 +29,6 @@
#include "CallbackResult.h"
#include <wtf/Forward.h>
#include <wtf/RefCounted.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBEventDispatcher.h (222112 => 222113)
--- trunk/Source/WebCore/Modules/indexeddb/IDBEventDispatcher.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBEventDispatcher.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -30,7 +30,7 @@
#if ENABLE(INDEXED_DATABASE)
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBFactory.h (222112 => 222113)
--- trunk/Source/WebCore/Modules/indexeddb/IDBFactory.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBFactory.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -32,7 +32,6 @@
#include <wtf/Forward.h>
#include <wtf/Ref.h>
#include <wtf/ThreadSafeRefCounted.h>
-#include <wtf/Vector.h>
namespace JSC {
class ExecState;
Modified: trunk/Source/WebCore/Modules/indexeddb/client/IDBConnectionProxy.h (222112 => 222113)
--- trunk/Source/WebCore/Modules/indexeddb/client/IDBConnectionProxy.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/Modules/indexeddb/client/IDBConnectionProxy.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -32,11 +32,11 @@
#include "TransactionOperation.h"
#include <wtf/CrossThreadQueue.h>
#include <wtf/CrossThreadTask.h>
+#include <wtf/Forward.h>
#include <wtf/Function.h>
#include <wtf/HashMap.h>
#include <wtf/MainThread.h>
#include <wtf/RefPtr.h>
-#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
Modified: trunk/Source/WebCore/Modules/indexeddb/server/IDBConnectionToClientDelegate.h (222112 => 222113)
--- trunk/Source/WebCore/Modules/indexeddb/server/IDBConnectionToClientDelegate.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/Modules/indexeddb/server/IDBConnectionToClientDelegate.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,7 +27,7 @@
#if ENABLE(INDEXED_DATABASE)
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
Modified: trunk/Source/WebCore/Modules/webdatabase/DatabaseTask.h (222112 => 222113)
--- trunk/Source/WebCore/Modules/webdatabase/DatabaseTask.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/Modules/webdatabase/DatabaseTask.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -30,8 +30,8 @@
#include "ExceptionOr.h"
#include <wtf/Condition.h>
+#include <wtf/Forward.h>
#include <wtf/Lock.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/Modules/websockets/WebSocketChannelClient.h (222112 => 222113)
--- trunk/Source/WebCore/Modules/websockets/WebSocketChannelClient.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/Modules/websockets/WebSocketChannelClient.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -31,7 +31,6 @@
#pragma once
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/contentextensions/CombinedURLFilters.h (222112 => 222113)
--- trunk/Source/WebCore/contentextensions/CombinedURLFilters.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/contentextensions/CombinedURLFilters.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -32,7 +32,6 @@
#include "NFA.h"
#include <wtf/Function.h>
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/crypto/SerializedCryptoKeyWrap.h (222112 => 222113)
--- trunk/Source/WebCore/crypto/SerializedCryptoKeyWrap.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/crypto/SerializedCryptoKeyWrap.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -25,7 +25,7 @@
#pragma once
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
#include <wtf/text/WTFString.h>
#if ENABLE(SUBTLE_CRYPTO)
Modified: trunk/Source/WebCore/css/InspectorCSSOMWrappers.h (222112 => 222113)
--- trunk/Source/WebCore/css/InspectorCSSOMWrappers.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/css/InspectorCSSOMWrappers.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -26,7 +26,6 @@
#include <wtf/HashMap.h>
#include <wtf/HashSet.h>
#include <wtf/RefPtr.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/css/PageRuleCollector.h (222112 => 222113)
--- trunk/Source/WebCore/css/PageRuleCollector.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/css/PageRuleCollector.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -23,7 +23,7 @@
#include "DocumentRuleSets.h"
#include "StyleResolver.h"
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/css/parser/CSSParserTokenRange.h (222112 => 222113)
--- trunk/Source/WebCore/css/parser/CSSParserTokenRange.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/css/parser/CSSParserTokenRange.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -30,7 +30,7 @@
#pragma once
#include "CSSParserToken.h"
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/dom/DocumentTouch.h (222112 => 222113)
--- trunk/Source/WebCore/dom/DocumentTouch.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/dom/DocumentTouch.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -30,7 +30,7 @@
#elif ENABLE(TOUCH_EVENTS)
#include <functional>
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/dom/MutationCallback.h (222112 => 222113)
--- trunk/Source/WebCore/dom/MutationCallback.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/dom/MutationCallback.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -32,9 +32,9 @@
#include "ActiveDOMCallback.h"
#include "CallbackResult.h"
+#include <wtf/Forward.h>
#include <wtf/Ref.h>
#include <wtf/RefCounted.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/editing/EditingStyle.h (222112 => 222113)
--- trunk/Source/WebCore/editing/EditingStyle.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/editing/EditingStyle.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -39,7 +39,6 @@
#include <wtf/RefCounted.h>
#include <wtf/RefPtr.h>
#include <wtf/TriState.h>
-#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
Modified: trunk/Source/WebCore/editing/SpellChecker.h (222112 => 222113)
--- trunk/Source/WebCore/editing/SpellChecker.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/editing/SpellChecker.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -30,9 +30,9 @@
#include "TextChecking.h"
#include "Timer.h"
#include <wtf/Deque.h>
+#include <wtf/Forward.h>
#include <wtf/RefPtr.h>
#include <wtf/Noncopyable.h>
-#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
Modified: trunk/Source/WebCore/editing/markup.h (222112 => 222113)
--- trunk/Source/WebCore/editing/markup.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/editing/markup.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -29,7 +29,6 @@
#include "FragmentScriptingPermission.h"
#include "HTMLInterchange.h"
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/fileapi/ThreadableBlobRegistry.h (222112 => 222113)
--- trunk/Source/WebCore/fileapi/ThreadableBlobRegistry.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/fileapi/ThreadableBlobRegistry.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -32,7 +32,6 @@
#pragma once
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/html/FileListCreator.h (222112 => 222113)
--- trunk/Source/WebCore/html/FileListCreator.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/html/FileListCreator.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -25,10 +25,10 @@
#pragma once
+#include <wtf/Forward.h>
#include <wtf/Function.h>
#include <wtf/Ref.h>
#include <wtf/ThreadSafeRefCounted.h>
-#include <wtf/Vector.h>
#include <wtf/WorkQueue.h>
namespace WebCore {
Modified: trunk/Source/WebCore/inspector/WebHeapAgent.h (222112 => 222113)
--- trunk/Source/WebCore/inspector/WebHeapAgent.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/inspector/WebHeapAgent.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -26,7 +26,7 @@
#pragma once
#include <inspector/agents/InspectorHeapAgent.h>
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/loader/ContentFilter.cpp (222112 => 222113)
--- trunk/Source/WebCore/loader/ContentFilter.cpp 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/loader/ContentFilter.cpp 2017-09-15 21:28:55 UTC (rev 222113)
@@ -81,7 +81,7 @@
return std::make_unique<ContentFilter>(WTFMove(filters), documentLoader);
}
-ContentFilter::ContentFilter(Container contentFilters, DocumentLoader& documentLoader)
+ContentFilter::ContentFilter(Container&& contentFilters, DocumentLoader& documentLoader)
: m_contentFilters { WTFMove(contentFilters) }
, m_documentLoader { documentLoader }
{
Modified: trunk/Source/WebCore/loader/ContentFilter.h (222112 => 222113)
--- trunk/Source/WebCore/loader/ContentFilter.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/loader/ContentFilter.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -31,7 +31,7 @@
#include "PlatformContentFilter.h"
#include "ResourceError.h"
#include <functional>
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
@@ -75,7 +75,7 @@
using Container = Vector<std::unique_ptr<PlatformContentFilter>>;
friend std::unique_ptr<ContentFilter> std::make_unique<ContentFilter>(Container&&, DocumentLoader&);
- ContentFilter(Container, DocumentLoader&);
+ ContentFilter(Container&&, DocumentLoader&);
template <typename Function> void forEachContentFilterUntilBlocked(Function&&);
void didDecide(State);
Modified: trunk/Source/WebCore/loader/CookieJar.h (222112 => 222113)
--- trunk/Source/WebCore/loader/CookieJar.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/loader/CookieJar.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -26,7 +26,6 @@
#pragma once
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
Modified: trunk/Source/WebCore/loader/FrameLoaderClient.h (222112 => 222113)
--- trunk/Source/WebCore/loader/FrameLoaderClient.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/loader/FrameLoaderClient.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -34,7 +34,6 @@
#include "LinkIcon.h"
#include <functional>
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
#if ENABLE(CONTENT_FILTERING)
Modified: trunk/Source/WebCore/loader/LoaderStrategy.h (222112 => 222113)
--- trunk/Source/WebCore/loader/LoaderStrategy.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/loader/LoaderStrategy.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -28,8 +28,8 @@
#include "ResourceHandleTypes.h"
#include "ResourceLoadPriority.h"
#include "ResourceLoaderOptions.h"
+#include <wtf/Forward.h>
#include <wtf/SHA1.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/loader/SubframeLoader.h (222112 => 222113)
--- trunk/Source/WebCore/loader/SubframeLoader.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/loader/SubframeLoader.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -33,7 +33,6 @@
#include "FrameLoaderTypes.h"
#include <wtf/Forward.h>
#include <wtf/Noncopyable.h>
-#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
Modified: trunk/Source/WebCore/page/ChromeClient.h (222112 => 222113)
--- trunk/Source/WebCore/page/ChromeClient.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/page/ChromeClient.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -44,7 +44,6 @@
#include <runtime/ConsoleTypes.h>
#include <wtf/Forward.h>
#include <wtf/Seconds.h>
-#include <wtf/Vector.h>
#if ENABLE(WIRELESS_PLAYBACK_TARGET)
#include "MediaPlaybackTargetContext.h"
Modified: trunk/Source/WebCore/page/FrameSnapshotting.h (222112 => 222113)
--- trunk/Source/WebCore/page/FrameSnapshotting.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/page/FrameSnapshotting.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -30,7 +30,7 @@
#pragma once
#include <memory>
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
@@ -52,7 +52,7 @@
typedef unsigned SnapshotOptions;
WEBCORE_EXPORT std::unique_ptr<ImageBuffer> snapshotFrameRect(Frame&, const IntRect&, SnapshotOptions = SnapshotOptionsNone);
-std::unique_ptr<ImageBuffer> snapshotFrameRectWithClip(Frame&, const IntRect&, const Vector<FloatRect>& clipRects = { }, SnapshotOptions = SnapshotOptionsNone);
+std::unique_ptr<ImageBuffer> snapshotFrameRectWithClip(Frame&, const IntRect&, const Vector<FloatRect>& clipRects, SnapshotOptions = SnapshotOptionsNone);
std::unique_ptr<ImageBuffer> snapshotNode(Frame&, Node&);
WEBCORE_EXPORT std::unique_ptr<ImageBuffer> snapshotSelection(Frame&, SnapshotOptions = SnapshotOptionsNone);
Modified: trunk/Source/WebCore/page/IntersectionObserverCallback.h (222112 => 222113)
--- trunk/Source/WebCore/page/IntersectionObserverCallback.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/page/IntersectionObserverCallback.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -29,8 +29,8 @@
#include "ActiveDOMCallback.h"
#include "CallbackResult.h"
+#include <wtf/Forward.h>
#include <wtf/RefCounted.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/page/PageSerializer.h (222112 => 222113)
--- trunk/Source/WebCore/page/PageSerializer.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/page/PageSerializer.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -32,9 +32,9 @@
#include "URLHash.h"
#include "SharedBuffer.h"
+#include <wtf/Forward.h>
#include <wtf/HashMap.h>
#include <wtf/ListHashSet.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/page/UserContentURLPattern.h (222112 => 222113)
--- trunk/Source/WebCore/page/UserContentURLPattern.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/page/UserContentURLPattern.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -25,7 +25,7 @@
#pragma once
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
Modified: trunk/Source/WebCore/page/scrolling/AxisScrollSnapOffsets.h (222112 => 222113)
--- trunk/Source/WebCore/page/scrolling/AxisScrollSnapOffsets.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/page/scrolling/AxisScrollSnapOffsets.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -30,7 +30,7 @@
#include "LayoutUnit.h"
#include "ScrollSnapOffsetsInfo.h"
#include "ScrollTypes.h"
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/page/win/FrameWin.h (222112 => 222113)
--- trunk/Source/WebCore/page/win/FrameWin.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/page/win/FrameWin.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -25,7 +25,7 @@
#pragma once
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
#include <wtf/win/GDIObject.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/CookiesStrategy.h (222112 => 222113)
--- trunk/Source/WebCore/platform/CookiesStrategy.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/CookiesStrategy.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,7 +27,7 @@
#include <pal/SessionID.h>
#include <wtf/EnumTraits.h>
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/KeyedCoding.h (222112 => 222113)
--- trunk/Source/WebCore/platform/KeyedCoding.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/KeyedCoding.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -28,7 +28,6 @@
#include <functional>
#include <wtf/Deque.h>
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/PasteboardStrategy.h (222112 => 222113)
--- trunk/Source/WebCore/platform/PasteboardStrategy.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/PasteboardStrategy.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,7 +27,6 @@
#define PasteboardStrategy_h
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/SSLKeyGenerator.h (222112 => 222113)
--- trunk/Source/WebCore/platform/SSLKeyGenerator.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/SSLKeyGenerator.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -26,7 +26,7 @@
#ifndef SSLKeyGenerator_h
#define SSLKeyGenerator_h
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/ScrollableArea.h (222112 => 222113)
--- trunk/Source/WebCore/platform/ScrollableArea.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/ScrollableArea.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,7 +27,7 @@
#include "ScrollSnapOffsetsInfo.h"
#include "Scrollbar.h"
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
#include <wtf/WeakPtr.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/encryptedmedia/CDMFactory.cpp (222112 => 222113)
--- trunk/Source/WebCore/platform/encryptedmedia/CDMFactory.cpp 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/encryptedmedia/CDMFactory.cpp 2017-09-15 21:28:55 UTC (rev 222113)
@@ -32,6 +32,7 @@
#include <mutex>
#include <wtf/NeverDestroyed.h>
+#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/encryptedmedia/CDMFactory.h (222112 => 222113)
--- trunk/Source/WebCore/platform/encryptedmedia/CDMFactory.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/encryptedmedia/CDMFactory.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -31,7 +31,6 @@
#include <memory>
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/gamepad/EmptyGamepadProvider.cpp (222112 => 222113)
--- trunk/Source/WebCore/platform/gamepad/EmptyGamepadProvider.cpp 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/gamepad/EmptyGamepadProvider.cpp 2017-09-15 21:28:55 UTC (rev 222113)
@@ -29,6 +29,7 @@
#if ENABLE(GAMEPAD)
#include <wtf/NeverDestroyed.h>
+#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/gamepad/GamepadProvider.h (222112 => 222113)
--- trunk/Source/WebCore/platform/gamepad/GamepadProvider.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/gamepad/GamepadProvider.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,8 +27,8 @@
#if ENABLE(GAMEPAD)
+#include <wtf/Forward.h>
#include <wtf/HashSet.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/gamepad/GamepadProviderClient.h (222112 => 222113)
--- trunk/Source/WebCore/platform/gamepad/GamepadProviderClient.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/gamepad/GamepadProviderClient.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,7 +27,7 @@
#if ENABLE(GAMEPAD)
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/gamepad/PlatformGamepad.h (222112 => 222113)
--- trunk/Source/WebCore/platform/gamepad/PlatformGamepad.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/gamepad/PlatformGamepad.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,7 +27,7 @@
#if ENABLE(GAMEPAD)
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/graphics/GeometryUtilities.cpp (222112 => 222113)
--- trunk/Source/WebCore/platform/graphics/GeometryUtilities.cpp 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/graphics/GeometryUtilities.cpp 2017-09-15 21:28:55 UTC (rev 222113)
@@ -25,6 +25,7 @@
#include "config.h"
#include "GeometryUtilities.h"
+#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/graphics/GeometryUtilities.h (222112 => 222113)
--- trunk/Source/WebCore/platform/graphics/GeometryUtilities.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/graphics/GeometryUtilities.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,7 +27,7 @@
#include "FloatRect.h"
#include "IntRect.h"
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/graphics/Icon.h (222112 => 222113)
--- trunk/Source/WebCore/platform/graphics/Icon.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/graphics/Icon.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -25,7 +25,6 @@
#include <wtf/RefCounted.h>
#include <wtf/RefPtr.h>
#include <wtf/RetainPtr.h>
-#include <wtf/Vector.h>
#if PLATFORM(IOS)
#include "NativeImage.h"
Modified: trunk/Source/WebCore/platform/graphics/LayoutRect.h (222112 => 222113)
--- trunk/Source/WebCore/platform/graphics/LayoutRect.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/graphics/LayoutRect.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -34,7 +34,7 @@
#include "IntRect.h"
#include "LayoutPoint.h"
#include "LengthBox.h"
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WTF {
class TextStream;
Modified: trunk/Source/WebCore/platform/graphics/Path.h (222112 => 222113)
--- trunk/Source/WebCore/platform/graphics/Path.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/graphics/Path.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -33,7 +33,6 @@
#include <wtf/FastMalloc.h>
#include <wtf/Function.h>
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
#if USE(CG)
Modified: trunk/Source/WebCore/platform/graphics/WOFFFileFormat.h (222112 => 222113)
--- trunk/Source/WebCore/platform/graphics/WOFFFileFormat.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/graphics/WOFFFileFormat.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -26,7 +26,7 @@
#ifndef WOFFFileFormat_h
#define WOFFFileFormat_h
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/MediaSampleAVFObjC.h (222112 => 222113)
--- trunk/Source/WebCore/platform/graphics/avfoundation/MediaSampleAVFObjC.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/MediaSampleAVFObjC.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -29,7 +29,7 @@
#include "MediaTimeAVFoundation.h"
#include <runtime/Uint8ClampedArray.h>
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVAssetTrackUtilities.h (222112 => 222113)
--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVAssetTrackUtilities.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/AVAssetTrackUtilities.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -28,7 +28,7 @@
#if ENABLE(VIDEO) && USE(AVFOUNDATION)
#include "ContentType.h"
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
OBJC_CLASS AVAssetTrack;
Modified: trunk/Source/WebCore/platform/graphics/ca/PlatformCAAnimation.h (222112 => 222113)
--- trunk/Source/WebCore/platform/graphics/ca/PlatformCAAnimation.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/graphics/ca/PlatformCAAnimation.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -30,9 +30,9 @@
#include "FilterOperation.h"
#include "FloatPoint3D.h"
#include "TransformationMatrix.h"
+#include <wtf/Forward.h>
#include <wtf/RefCounted.h>
#include <wtf/TypeCasts.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWinInternal.h (222112 => 222113)
--- trunk/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWinInternal.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWinInternal.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,8 +27,8 @@
#define PlatformCALayerWinInternal_h
#include <CoreGraphics/CGGeometry.h>
+#include <wtf/Forward.h>
#include <wtf/RetainPtr.h>
-#include <wtf/Vector.h>
typedef struct _CACFLayer *CACFLayerRef;
typedef struct CGContext *CGContextRef;
@@ -41,7 +41,7 @@
class TileController;
class TiledBacking;
-typedef Vector<RefPtr<PlatformCALayer> > PlatformCALayerList;
+typedef Vector<RefPtr<PlatformCALayer>> PlatformCALayerList;
class PlatformCALayerWinInternal {
public:
Modified: trunk/Source/WebCore/platform/graphics/opentype/OpenTypeMathData.h (222112 => 222113)
--- trunk/Source/WebCore/platform/graphics/opentype/OpenTypeMathData.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/graphics/opentype/OpenTypeMathData.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,9 +27,10 @@
#pragma once
#include "Glyph.h"
+#include <wtf/Forward.h>
#include <wtf/Ref.h>
#include <wtf/RefCounted.h>
-#include <wtf/Vector.h>
+#include <wtf/RefPtr.h>
#if !ENABLE(OPENTYPE_MATH) && USE(HARFBUZZ)
#include <hb-ot.h>
Modified: trunk/Source/WebCore/platform/image-encoders/JPEGImageEncoder.h (222112 => 222113)
--- trunk/Source/WebCore/platform/image-encoders/JPEGImageEncoder.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/image-encoders/JPEGImageEncoder.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -20,8 +20,8 @@
#pragma once
+#include <wtf/Forward.h>
#include <wtf/Optional.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/image-encoders/PNGImageEncoder.h (222112 => 222113)
--- trunk/Source/WebCore/platform/image-encoders/PNGImageEncoder.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/image-encoders/PNGImageEncoder.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -21,7 +21,7 @@
#ifndef PNGImageEncoder_h
#define PNGImageEncoder_h
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/network/BlobRegistry.h (222112 => 222113)
--- trunk/Source/WebCore/platform/network/BlobRegistry.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/network/BlobRegistry.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -34,7 +34,6 @@
#include <functional>
#include <wtf/Forward.h>
#include <wtf/Function.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/network/HTTPParsers.h (222112 => 222113)
--- trunk/Source/WebCore/platform/network/HTTPParsers.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/network/HTTPParsers.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -34,7 +34,6 @@
#include <wtf/Forward.h>
#include <wtf/HashSet.h>
#include <wtf/Optional.h>
-#include <wtf/Vector.h>
#include <wtf/text/StringHash.h>
#include <wtf/text/WTFString.h>
Modified: trunk/Source/WebCore/platform/network/PlatformCookieJar.h (222112 => 222113)
--- trunk/Source/WebCore/platform/network/PlatformCookieJar.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/network/PlatformCookieJar.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -28,7 +28,6 @@
#include <chrono>
#include <wtf/Forward.h>
#include <wtf/HashSet.h>
-#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/network/cf/DownloadBundle.h (222112 => 222113)
--- trunk/Source/WebCore/platform/network/cf/DownloadBundle.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/network/cf/DownloadBundle.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,7 +27,6 @@
#define DownloadBundle_h
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace WebCore {
namespace DownloadBundle {
Modified: trunk/Source/WebCore/platform/network/curl/CurlCacheEntry.h (222112 => 222113)
--- trunk/Source/WebCore/platform/network/curl/CurlCacheEntry.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/network/curl/CurlCacheEntry.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -32,9 +32,9 @@
#include "ResourceHandle.h"
#include "ResourceRequest.h"
#include "ResourceResponse.h"
+#include <wtf/Forward.h>
#include <wtf/HashMap.h>
#include <wtf/ListHashSet.h>
-#include <wtf/Vector.h>
#include <wtf/text/CString.h>
#include <wtf/text/WTFString.h>
Modified: trunk/Source/WebCore/platform/network/curl/DownloadBundle.h (222112 => 222113)
--- trunk/Source/WebCore/platform/network/curl/DownloadBundle.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/network/curl/DownloadBundle.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,7 +27,6 @@
#define DownloadBundle_h
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace WebCore {
namespace DownloadBundle {
Modified: trunk/Source/WebCore/platform/text/LineEnding.h (222112 => 222113)
--- trunk/Source/WebCore/platform/text/LineEnding.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/text/LineEnding.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -33,7 +33,6 @@
#define LineEnding_h
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/text/QuotedPrintable.cpp (222112 => 222113)
--- trunk/Source/WebCore/platform/text/QuotedPrintable.cpp 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/text/QuotedPrintable.cpp 2017-09-15 21:28:55 UTC (rev 222113)
@@ -32,6 +32,7 @@
#include "QuotedPrintable.h"
#include <wtf/ASCIICType.h>
+#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/platform/text/QuotedPrintable.h (222112 => 222113)
--- trunk/Source/WebCore/platform/text/QuotedPrintable.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/platform/text/QuotedPrintable.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -31,7 +31,7 @@
#ifndef QuotedPrintable_h
#define QuotedPrintable_h
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/rendering/FlexibleBoxAlgorithm.h (222112 => 222113)
--- trunk/Source/WebCore/rendering/FlexibleBoxAlgorithm.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/rendering/FlexibleBoxAlgorithm.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -32,8 +32,8 @@
#include "LayoutUnit.h"
#include "RenderStyle.h"
+#include <wtf/Forward.h>
#include <wtf/Noncopyable.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/rendering/style/QuotesData.h (222112 => 222113)
--- trunk/Source/WebCore/rendering/style/QuotesData.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/rendering/style/QuotesData.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -21,8 +21,8 @@
#pragma once
+#include <wtf/Forward.h>
#include <wtf/RefCounted.h>
-#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
Modified: trunk/Source/WebCore/rendering/svg/SVGSubpathData.h (222112 => 222113)
--- trunk/Source/WebCore/rendering/svg/SVGSubpathData.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/rendering/svg/SVGSubpathData.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -20,7 +20,7 @@
#pragma once
#include "Path.h"
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/storage/StorageEventDispatcher.h (222112 => 222113)
--- trunk/Source/WebCore/storage/StorageEventDispatcher.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/storage/StorageEventDispatcher.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -30,7 +30,6 @@
#pragma once
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace WebCore {
Modified: trunk/Source/WebCore/style/StyleInvalidator.h (222112 => 222113)
--- trunk/Source/WebCore/style/StyleInvalidator.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/style/StyleInvalidator.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -25,7 +25,7 @@
#pragma once
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/style/StyleRelations.h (222112 => 222113)
--- trunk/Source/WebCore/style/StyleRelations.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/style/StyleRelations.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -25,7 +25,7 @@
#pragma once
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/svg/SVGAltGlyphDefElement.h (222112 => 222113)
--- trunk/Source/WebCore/svg/SVGAltGlyphDefElement.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/svg/SVGAltGlyphDefElement.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -22,7 +22,7 @@
#if ENABLE(SVG_FONTS)
#include "SVGElement.h"
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebCore/svg/SVGAltGlyphItemElement.h (222112 => 222113)
--- trunk/Source/WebCore/svg/SVGAltGlyphItemElement.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebCore/svg/SVGAltGlyphItemElement.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -22,7 +22,7 @@
#if ENABLE(SVG_FONTS)
#include "SVGElement.h"
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
Modified: trunk/Source/WebDriver/ChangeLog (222112 => 222113)
--- trunk/Source/WebDriver/ChangeLog 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebDriver/ChangeLog 2017-09-15 21:28:55 UTC (rev 222113)
@@ -1,3 +1,14 @@
+2017-09-15 JF Bastien <[email protected]>
+
+ WTF: use Forward.h when appropriate instead of Vector.h
+ https://bugs.webkit.org/show_bug.cgi?id=176984
+
+ Reviewed by Saam Barati.
+
+ There's no need to include Vector.h when Forward.h will suffice. All we need is to move the template default parameters from Vector, and then the forward declaration can be used in so many new places: if a header only takes Vector by reference, rvalue reference, pointer, returns any of these, or has them as members then the header doesn't need to see the definition because the declaration will suffice.
+
+ * Session.h:
+
2017-09-09 Carlos Garcia Campos <[email protected]>
WebDriver: ensure we close all windows handles when closing the session
Modified: trunk/Source/WebDriver/Session.h (222112 => 222113)
--- trunk/Source/WebDriver/Session.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebDriver/Session.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -30,7 +30,6 @@
#include <wtf/Function.h>
#include <wtf/OptionSet.h>
#include <wtf/RefCounted.h>
-#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
namespace Inspector {
Modified: trunk/Source/WebKit/ChangeLog (222112 => 222113)
--- trunk/Source/WebKit/ChangeLog 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/ChangeLog 2017-09-15 21:28:55 UTC (rev 222113)
@@ -1,3 +1,39 @@
+2017-09-15 JF Bastien <[email protected]>
+
+ WTF: use Forward.h when appropriate instead of Vector.h
+ https://bugs.webkit.org/show_bug.cgi?id=176984
+
+ Reviewed by Saam Barati.
+
+ There's no need to include Vector.h when Forward.h will suffice. All we need is to move the template default parameters from Vector, and then the forward declaration can be used in so many new places: if a header only takes Vector by reference, rvalue reference, pointer, returns any of these, or has them as members then the header doesn't need to see the definition because the declaration will suffice.
+
+ * Scripts/webkit/LegacyMessages-expected.h:
+ * Scripts/webkit/Messages-expected.h:
+ * Shared/API/APIData.h:
+ * UIProcess/API/APIContextMenuClient.h:
+ * UIProcess/API/APIFormClient.h:
+ * UIProcess/API/APIHTTPCookieStore.h:
+ * UIProcess/API/APINotificationProvider.h:
+ * UIProcess/API/glib/WebKitNotificationProvider.h:
+ * UIProcess/Notifications/WebNotificationProvider.h:
+ * UIProcess/TextCheckerCompletion.h:
+ * UIProcess/WebCookieManagerProxy.h:
+ * UIProcess/WebOpenPanelResultListenerProxy.h:
+ * UIProcess/WebPasteboardProxy.h:
+ * UIProcess/WebPopupMenuProxy.h:
+ * UIProcess/WebTextCheckerClient.h:
+ * WebProcess/Cookies/WebCookieManager.h:
+ * WebProcess/Gamepad/WebGamepadProvider.h:
+ * WebProcess/InjectedBundle/API/APIInjectedBundleEditorClient.h:
+ * WebProcess/InjectedBundle/API/APIInjectedBundlePageContextMenuClient.h:
+ * WebProcess/InjectedBundle/API/APIInjectedBundlePageLoaderClient.h:
+ * WebProcess/InjectedBundle/APIInjectedBundleFormClient.h:
+ * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
+ * WebProcess/Network/webrtc/WebRTCMonitor.h:
+ * WebProcess/Network/webrtc/WebRTCResolver.h:
+ * WebProcess/WebPage/DrawingArea.h:
+ * WebProcess/WebPage/WebOpenPanelResultListener.h:
+
2017-09-15 Tim Horton <[email protected]>
Fix the macOS CMake build
Modified: trunk/Source/WebKit/Scripts/webkit/LegacyMessages-expected.h (222112 => 222113)
--- trunk/Source/WebKit/Scripts/webkit/LegacyMessages-expected.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/Scripts/webkit/LegacyMessages-expected.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -33,9 +33,9 @@
#include <WebCore/KeyboardEvent.h>
#include <WebCore/PluginData.h>
#include <utility>
+#include <wtf/Forward.h>
#include <wtf/HashMap.h>
#include <wtf/ThreadSafeRefCounted.h>
-#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
namespace IPC {
Modified: trunk/Source/WebKit/Scripts/webkit/Messages-expected.h (222112 => 222113)
--- trunk/Source/WebKit/Scripts/webkit/Messages-expected.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/Scripts/webkit/Messages-expected.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -33,9 +33,9 @@
#include <WebCore/KeyboardEvent.h>
#include <WebCore/PluginData.h>
#include <utility>
+#include <wtf/Forward.h>
#include <wtf/HashMap.h>
#include <wtf/ThreadSafeRefCounted.h>
-#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
namespace IPC {
Modified: trunk/Source/WebKit/Shared/API/APIData.h (222112 => 222113)
--- trunk/Source/WebKit/Shared/API/APIData.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/Shared/API/APIData.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -29,7 +29,6 @@
#include "APIObject.h"
#include "DataReference.h"
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace IPC {
class Decoder;
Modified: trunk/Source/WebKit/UIProcess/API/APIContextMenuClient.h (222112 => 222113)
--- trunk/Source/WebKit/UIProcess/API/APIContextMenuClient.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/UIProcess/API/APIContextMenuClient.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -31,8 +31,8 @@
#include "WebContextMenuListenerProxy.h"
#include "WebHitTestResultData.h"
#include <WebKit/WKBase.h>
+#include <wtf/Forward.h>
#include <wtf/RefPtr.h>
-#include <wtf/Vector.h>
OBJC_CLASS NSMenu;
Modified: trunk/Source/WebKit/UIProcess/API/APIFormClient.h (222112 => 222113)
--- trunk/Source/WebKit/UIProcess/API/APIFormClient.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/UIProcess/API/APIFormClient.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -28,7 +28,6 @@
#include "WebFormSubmissionListenerProxy.h"
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace WebKit {
class WebFrameProxy;
Modified: trunk/Source/WebKit/UIProcess/API/APIHTTPCookieStore.h (222112 => 222113)
--- trunk/Source/WebKit/UIProcess/API/APIHTTPCookieStore.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/UIProcess/API/APIHTTPCookieStore.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -28,9 +28,9 @@
#include "APIObject.h"
#include "HTTPCookieAcceptPolicy.h"
#include <WebCore/Cookie.h>
+#include <wtf/Forward.h>
#include <wtf/Function.h>
#include <wtf/HashSet.h>
-#include <wtf/Vector.h>
namespace WebCore {
class URL;
Modified: trunk/Source/WebKit/UIProcess/API/APINotificationProvider.h (222112 => 222113)
--- trunk/Source/WebKit/UIProcess/API/APINotificationProvider.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/UIProcess/API/APINotificationProvider.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,7 +27,6 @@
#include <wtf/Forward.h>
#include <wtf/HashMap.h>
-#include <wtf/Vector.h>
#include <wtf/text/StringHash.h>
namespace WebKit {
Modified: trunk/Source/WebKit/UIProcess/API/glib/WebKitNotificationProvider.h (222112 => 222113)
--- trunk/Source/WebKit/UIProcess/API/glib/WebKitNotificationProvider.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/UIProcess/API/glib/WebKitNotificationProvider.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -21,8 +21,8 @@
#include "WebKitNotification.h"
#include "WebKitWebContext.h"
+#include <wtf/Forward.h>
#include <wtf/HashMap.h>
-#include <wtf/Vector.h>
#include <wtf/glib/GRefPtr.h>
#include <wtf/text/StringHash.h>
Modified: trunk/Source/WebKit/UIProcess/Notifications/WebNotificationProvider.h (222112 => 222113)
--- trunk/Source/WebKit/UIProcess/Notifications/WebNotificationProvider.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/UIProcess/Notifications/WebNotificationProvider.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -30,7 +30,6 @@
#include "APINotificationProvider.h"
#include "WKNotificationProvider.h"
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace API {
template<> struct ClientTraits<WKNotificationProviderBase> {
Modified: trunk/Source/WebKit/UIProcess/TextCheckerCompletion.h (222112 => 222113)
--- trunk/Source/WebKit/UIProcess/TextCheckerCompletion.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/UIProcess/TextCheckerCompletion.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,7 +27,7 @@
#include "WebPageProxy.h"
#include <WebCore/TextChecking.h>
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebKit {
Modified: trunk/Source/WebKit/UIProcess/WebCookieManagerProxy.h (222112 => 222113)
--- trunk/Source/WebKit/UIProcess/WebCookieManagerProxy.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/UIProcess/WebCookieManagerProxy.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -31,8 +31,8 @@
#include "WebContextSupplement.h"
#include "WebCookieManagerProxyClient.h"
#include <pal/SessionID.h>
+#include <wtf/Forward.h>
#include <wtf/RefPtr.h>
-#include <wtf/Vector.h>
#if USE(SOUP)
#include "SoupCookiePersistentStorageType.h"
Modified: trunk/Source/WebKit/UIProcess/WebOpenPanelResultListenerProxy.h (222112 => 222113)
--- trunk/Source/WebKit/UIProcess/WebOpenPanelResultListenerProxy.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/UIProcess/WebOpenPanelResultListenerProxy.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -28,7 +28,6 @@
#include "APIObject.h"
#include <wtf/Forward.h>
#include <wtf/RefPtr.h>
-#include <wtf/Vector.h>
namespace API {
class Array;
Modified: trunk/Source/WebKit/UIProcess/WebPasteboardProxy.h (222112 => 222113)
--- trunk/Source/WebKit/UIProcess/WebPasteboardProxy.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/UIProcess/WebPasteboardProxy.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -29,7 +29,6 @@
#include "SharedMemory.h"
#include <wtf/Forward.h>
#include <wtf/HashSet.h>
-#include <wtf/Vector.h>
namespace WebCore {
class Color;
Modified: trunk/Source/WebKit/UIProcess/WebPopupMenuProxy.h (222112 => 222113)
--- trunk/Source/WebKit/UIProcess/WebPopupMenuProxy.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/UIProcess/WebPopupMenuProxy.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,8 +27,8 @@
#define WebPopupMenuProxy_h
#include <WebCore/WritingMode.h>
+#include <wtf/Forward.h>
#include <wtf/RefCounted.h>
-#include <wtf/Vector.h>
namespace WebCore {
class IntRect;
Modified: trunk/Source/WebKit/UIProcess/WebTextCheckerClient.h (222112 => 222113)
--- trunk/Source/WebKit/UIProcess/WebTextCheckerClient.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/UIProcess/WebTextCheckerClient.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -30,7 +30,6 @@
#include "WKTextChecker.h"
#include <WebCore/TextCheckerClient.h>
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace API {
template<> struct ClientTraits<WKTextCheckerClientBase> {
Modified: trunk/Source/WebKit/WebProcess/Cookies/WebCookieManager.h (222112 => 222113)
--- trunk/Source/WebKit/WebProcess/Cookies/WebCookieManager.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/WebProcess/Cookies/WebCookieManager.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -36,7 +36,6 @@
#include <stdint.h>
#include <wtf/Forward.h>
#include <wtf/Noncopyable.h>
-#include <wtf/Vector.h>
#if USE(SOUP)
#include "SoupCookiePersistentStorageType.h"
Modified: trunk/Source/WebKit/WebProcess/Gamepad/WebGamepadProvider.h (222112 => 222113)
--- trunk/Source/WebKit/WebProcess/Gamepad/WebGamepadProvider.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/WebProcess/Gamepad/WebGamepadProvider.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -30,6 +30,7 @@
#include <WebCore/GamepadProvider.h>
#include <wtf/Forward.h>
#include <wtf/HashSet.h>
+#include <wtf/Vector.h>
namespace WebKit {
Modified: trunk/Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundleEditorClient.h (222112 => 222113)
--- trunk/Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundleEditorClient.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundleEditorClient.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -28,7 +28,6 @@
#include <WebCore/EditorInsertAction.h>
#include <WebCore/TextAffinity.h>
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace WebCore {
class CSSStyleDeclaration;
Modified: trunk/Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundlePageContextMenuClient.h (222112 => 222113)
--- trunk/Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundlePageContextMenuClient.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundlePageContextMenuClient.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -28,7 +28,7 @@
#if ENABLE(CONTEXT_MENUS)
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace WebCore {
class ContextMenuItem;
Modified: trunk/Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundlePageLoaderClient.h (222112 => 222113)
--- trunk/Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundlePageLoaderClient.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/WebProcess/InjectedBundle/API/APIInjectedBundlePageLoaderClient.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -28,7 +28,6 @@
#include "SameDocumentNavigationType.h"
#include <WebCore/LayoutMilestones.h>
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
#include <wtf/text/WTFString.h>
namespace WebCore {
Modified: trunk/Source/WebKit/WebProcess/InjectedBundle/APIInjectedBundleFormClient.h (222112 => 222113)
--- trunk/Source/WebKit/WebProcess/InjectedBundle/APIInjectedBundleFormClient.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/WebProcess/InjectedBundle/APIInjectedBundleFormClient.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -27,7 +27,6 @@
#define APIInjectedBundleFormClient_h
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace WebCore {
class Element;
Modified: trunk/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h (222112 => 222113)
--- trunk/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -30,7 +30,6 @@
#include "APIInjectedBundlePageLoaderClient.h"
#include "WKBundlePageLoaderClient.h"
#include <wtf/Forward.h>
-#include <wtf/Vector.h>
namespace API {
class Object;
Modified: trunk/Source/WebKit/WebProcess/Network/webrtc/WebRTCMonitor.h (222112 => 222113)
--- trunk/Source/WebKit/WebProcess/Network/webrtc/WebRTCMonitor.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/WebProcess/Network/webrtc/WebRTCMonitor.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -29,7 +29,7 @@
#include "RTCNetwork.h"
#include <WebCore/LibWebRTCProvider.h>
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace IPC {
class Connection;
Modified: trunk/Source/WebKit/WebProcess/Network/webrtc/WebRTCResolver.h (222112 => 222113)
--- trunk/Source/WebKit/WebProcess/Network/webrtc/WebRTCResolver.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/WebProcess/Network/webrtc/WebRTCResolver.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -28,7 +28,7 @@
#if USE(LIBWEBRTC)
#include "RTCNetwork.h"
-#include <wtf/Vector.h>
+#include <wtf/Forward.h>
namespace IPC {
class Connection;
Modified: trunk/Source/WebKit/WebProcess/WebPage/DrawingArea.h (222112 => 222113)
--- trunk/Source/WebKit/WebProcess/WebPage/DrawingArea.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/WebProcess/WebPage/DrawingArea.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -38,7 +38,6 @@
#include <wtf/Forward.h>
#include <wtf/Noncopyable.h>
#include <wtf/TypeCasts.h>
-#include <wtf/Vector.h>
namespace IPC {
class Connection;
Modified: trunk/Source/WebKit/WebProcess/WebPage/WebOpenPanelResultListener.h (222112 => 222113)
--- trunk/Source/WebKit/WebProcess/WebPage/WebOpenPanelResultListener.h 2017-09-15 21:23:10 UTC (rev 222112)
+++ trunk/Source/WebKit/WebProcess/WebPage/WebOpenPanelResultListener.h 2017-09-15 21:28:55 UTC (rev 222113)
@@ -28,7 +28,6 @@
#include <wtf/Forward.h>
#include <wtf/Ref.h>
#include <wtf/RefCounted.h>
-#include <wtf/Vector.h>
namespace WebCore {
class FileChooser;