UserData decoding of WKTypeRefWrapper always fails
authortimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Jan 2015 23:21:37 +0000 (23:21 +0000)
committertimothy_horton@apple.com <timothy_horton@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Jan 2015 23:21:37 +0000 (23:21 +0000)
https://bugs.webkit.org/show_bug.cgi?id=140791
<rdar://problem/19438402>

Reviewed by Anders Carlsson.

* Shared/mac/ObjCObjectGraph.mm:
(WebKit::ObjCObjectGraph::decode):
Add a missing break.

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

Source/WebKit2/ChangeLog
Source/WebKit2/Shared/mac/ObjCObjectGraph.mm

index d805e3e..45373dd 100644 (file)
@@ -1,3 +1,15 @@
+2015-01-22  Timothy Horton  <timothy_horton@apple.com>
+
+        UserData decoding of WKTypeRefWrapper always fails
+        https://bugs.webkit.org/show_bug.cgi?id=140791
+        <rdar://problem/19438402>
+
+        Reviewed by Anders Carlsson.
+
+        * Shared/mac/ObjCObjectGraph.mm:
+        (WebKit::ObjCObjectGraph::decode):
+        Add a missing break.
+
 2015-01-22  Ryosuke Niwa  <rniwa@webkit.org>
 
         Add a build flag for ES6 class syntax
index 389e950..7cdc44f 100644 (file)
@@ -318,6 +318,7 @@ bool ObjCObjectGraph::decode(IPC::ArgumentDecoder& decoder, RetainPtr<id>& resul
             return false;
 
         result = adoptNS([[WKTypeRefWrapper alloc] initWithObject:toAPI(object.get())]);
+        break;
     }
 #endif