Unreviewed. Remove incorrect ASSERT added in r183176.
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Apr 2015 07:05:35 +0000 (07:05 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Apr 2015 07:05:35 +0000 (07:05 +0000)
We allow to encode null attachments.

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

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

Source/WebKit2/ChangeLog
Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp

index 939f257..dc8a98a 100644 (file)
@@ -1,3 +1,12 @@
+2015-04-24  Carlos Garcia Campos  <cgarcia@igalia.com>
+
+        Unreviewed. Remove incorrect ASSERT added in r183176.
+
+        We allow to encode null attachments.
+
+        * Platform/unix/SharedMemoryUnix.cpp:
+        (WebKit::SharedMemory::Handle::releaseAttachment):
+
 2015-04-23  Dan Bernstein  <mitz@apple.com>
 
         <rdar://problem/20680694> Framework header postprocessing isn’t removing WK_DEPRECATED macros when it should.
index 77fd3b0..8009d5b 100644 (file)
@@ -83,7 +83,6 @@ bool SharedMemory::Handle::decode(IPC::ArgumentDecoder& decoder, Handle& handle)
 
 IPC::Attachment SharedMemory::Handle::releaseAttachment() const
 {
-    ASSERT(!isNull());
     return WTF::move(m_attachment);
 }