Title: [164912] trunk/Source/WebKit2
Revision
164912
Author
[email protected]
Date
2014-03-01 00:35:23 -0800 (Sat, 01 Mar 2014)

Log Message

Unreviewed trivial Linux buildfix after r164905.

setShouldCloseConnectionOnMachExceptions() is defined in the Mac only
Source/WebKit2/Platform/IPC/mac/ConnectionMac.cpp inside !PLATFORM(IOS)
which means PLATFORM(MAC), because nobody else uses this source file.

But ChildProcessProxy.cpp is used by Linux ports too, so we have to
use the most specific #if guard here, which is PLATFORM(MAC).

* Shared/ChildProcessProxy.cpp:
(WebKit::ChildProcessProxy::didFinishLaunching):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (164911 => 164912)


--- trunk/Source/WebKit2/ChangeLog	2014-03-01 06:13:09 UTC (rev 164911)
+++ trunk/Source/WebKit2/ChangeLog	2014-03-01 08:35:23 UTC (rev 164912)
@@ -1,3 +1,17 @@
+2014-03-01  Csaba Osztrogonác  <[email protected]>
+
+        Unreviewed trivial Linux buildfix after r164905.
+
+        setShouldCloseConnectionOnMachExceptions() is defined in the Mac only
+        Source/WebKit2/Platform/IPC/mac/ConnectionMac.cpp inside !PLATFORM(IOS)
+        which means PLATFORM(MAC), because nobody else uses this source file.
+
+        But ChildProcessProxy.cpp is used by Linux ports too, so we have to
+        use the most specific #if guard here, which is PLATFORM(MAC).
+
+        * Shared/ChildProcessProxy.cpp:
+        (WebKit::ChildProcessProxy::didFinishLaunching):
+
 2014-02-28  Simon Fraser  <[email protected]>
 
         [iOS] Assertions and bad behavior when zooming into an iframe containing apple.com

Modified: trunk/Source/WebKit2/Shared/ChildProcessProxy.cpp (164911 => 164912)


--- trunk/Source/WebKit2/Shared/ChildProcessProxy.cpp	2014-03-01 06:13:09 UTC (rev 164911)
+++ trunk/Source/WebKit2/Shared/ChildProcessProxy.cpp	2014-03-01 08:35:23 UTC (rev 164912)
@@ -128,7 +128,7 @@
     ASSERT(!m_connection);
 
     m_connection = IPC::Connection::createServerConnection(connectionIdentifier, this, RunLoop::main());
-#if !PLATFORM(IOS)
+#if PLATFORM(MAC)
     m_connection->setShouldCloseConnectionOnMachExceptions();
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to