Title: [209920] trunk/Source/WebKit2
- Revision
- 209920
- Author
- csaave...@igalia.com
- Date
- 2016-12-16 08:43:16 -0800 (Fri, 16 Dec 2016)
Log Message
[WK2] SharedMemory: include cleanups
https://bugs.webkit.org/show_bug.cgi?id=165950
Reviewed by Žan Doberšek.
The WTFString include is not needed in the header, so move to the
Unix file. Use the existing UNIX_DOMAIN_SOCKETS define. Also
include the WTFOptional header where needed.
* Platform/SharedMemory.h:
* Platform/unix/SharedMemoryUnix.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (209919 => 209920)
--- trunk/Source/WebKit2/ChangeLog 2016-12-16 16:31:55 UTC (rev 209919)
+++ trunk/Source/WebKit2/ChangeLog 2016-12-16 16:43:16 UTC (rev 209920)
@@ -1,3 +1,17 @@
+2016-12-16 Claudio Saavedra <csaave...@igalia.com>
+
+ [WK2] SharedMemory: include cleanups
+ https://bugs.webkit.org/show_bug.cgi?id=165950
+
+ Reviewed by Žan Doberšek.
+
+ The WTFString include is not needed in the header, so move to the
+ Unix file. Use the existing UNIX_DOMAIN_SOCKETS define. Also
+ include the WTFOptional header where needed.
+
+ * Platform/SharedMemory.h:
+ * Platform/unix/SharedMemoryUnix.cpp:
+
2016-12-16 Joonghun Park <jh718.p...@samsung.com>
[EFL] Fix build break since r209907. Unreviewed.
Modified: trunk/Source/WebKit2/Platform/SharedMemory.h (209919 => 209920)
--- trunk/Source/WebKit2/Platform/SharedMemory.h 2016-12-16 16:31:55 UTC (rev 209919)
+++ trunk/Source/WebKit2/Platform/SharedMemory.h 2016-12-16 16:43:16 UTC (rev 209920)
@@ -30,9 +30,9 @@
#include <wtf/Noncopyable.h>
#include <wtf/RefCounted.h>
-#if PLATFORM(GTK) || PLATFORM(EFL)
+#if USE(UNIX_DOMAIN_SOCKETS)
#include "Attachment.h"
-#include <wtf/text/WTFString.h>
+#include <wtf/Optional.h>
#endif
namespace IPC {
Modified: trunk/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp (209919 => 209920)
--- trunk/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp 2016-12-16 16:31:55 UTC (rev 209919)
+++ trunk/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp 2016-12-16 16:43:16 UTC (rev 209920)
@@ -43,6 +43,7 @@
#include <wtf/RandomNumber.h>
#include <wtf/UniStdExtras.h>
#include <wtf/text/CString.h>
+#include <wtf/text/WTFString.h>
namespace WebKit {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes