Compilation error in FormData.cpp: incomplete type 'WebCore::SharedBuffer'
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Aug 2018 23:14:06 +0000 (23:14 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Aug 2018 23:14:06 +0000 (23:14 +0000)
https://bugs.webkit.org/show_bug.cgi?id=189207

Reviewed by Youenn Fablet.

If FormData.cpp is compiled alone (non-unified) or if it is the first file compiled in
a unified build, SharedBuffer.h is not included.

* platform/network/FormData.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235573 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/network/FormData.cpp

index 74c70b5..06f55ca 100644 (file)
@@ -1,3 +1,15 @@
+2018-08-31  Jer Noble  <jer.noble@apple.com>
+
+        Compilation error in FormData.cpp: incomplete type 'WebCore::SharedBuffer'
+        https://bugs.webkit.org/show_bug.cgi?id=189207
+
+        Reviewed by Youenn Fablet.
+
+        If FormData.cpp is compiled alone (non-unified) or if it is the first file compiled in
+        a unified build, SharedBuffer.h is not included.
+
+        * platform/network/FormData.cpp:
+
 2018-08-31  Chris Dumez  <cdumez@apple.com>
 
         [ WK2 ] http/tests/workers/service/client-*-page-cache.html LayoutTests are flaky
index bbc4cb1..dec2359 100644 (file)
@@ -32,6 +32,7 @@
 #include "FileSystem.h"
 #include "FormDataBuilder.h"
 #include "Page.h"
+#include "SharedBuffer.h"
 #include "TextEncoding.h"
 #include "ThreadableBlobRegistry.h"
 #include <wtf/text/LineEnding.h>