Title: [183184] trunk/Source/WebKit2
Revision
183184
Author
[email protected]
Date
2015-04-23 02:43:36 -0700 (Thu, 23 Apr 2015)

Log Message

Unreviewed. Fix debug build after r183176.

* Platform/unix/SharedMemoryUnix.cpp:
(WebKit::SharedMemory::Handle::decode):
(WebKit::SharedMemory::createHandle):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (183183 => 183184)


--- trunk/Source/WebKit2/ChangeLog	2015-04-23 09:06:54 UTC (rev 183183)
+++ trunk/Source/WebKit2/ChangeLog	2015-04-23 09:43:36 UTC (rev 183184)
@@ -1,3 +1,11 @@
+2015-04-23  Carlos Garcia Campos  <[email protected]>
+
+        Unreviewed. Fix debug build after r183176.
+
+        * Platform/unix/SharedMemoryUnix.cpp:
+        (WebKit::SharedMemory::Handle::decode):
+        (WebKit::SharedMemory::createHandle):
+
 2015-04-23  Andreas Kling  <[email protected]>
 
         There should only be one way to get the system memory size.

Modified: trunk/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp (183183 => 183184)


--- trunk/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp	2015-04-23 09:06:54 UTC (rev 183183)
+++ trunk/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp	2015-04-23 09:43:36 UTC (rev 183184)
@@ -72,7 +72,6 @@
 
 bool SharedMemory::Handle::decode(IPC::ArgumentDecoder& decoder, Handle& handle)
 {
-    ASSERT_ARG(handle, !handle.m_size);
     ASSERT_ARG(handle, handle.isNull());
 
     IPC::Attachment attachment;
@@ -174,7 +173,6 @@
 
 bool SharedMemory::createHandle(Handle& handle, Protection)
 {
-    ASSERT_ARG(handle, !handle.m_size);
     ASSERT_ARG(handle, handle.isNull());
 
     // FIXME: Handle the case where the passed Protection is ReadOnly.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to