Title: [159267] trunk/Source/WebKit2
Revision
159267
Author
[email protected]
Date
2013-11-13 17:59:52 -0800 (Wed, 13 Nov 2013)

Log Message

REGRESSION (r159263): caused 50+ crashes on all mac webkit2 bots
https://bugs.webkit.org/show_bug.cgi?id=124327

Reviewed by Tim Horton.

* Shared/Cocoa/APIObject.mm:
(API::Object::newObject): Allocate extra memory for the WebError inside the WKNSError.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (159266 => 159267)


--- trunk/Source/WebKit2/ChangeLog	2013-11-14 01:20:57 UTC (rev 159266)
+++ trunk/Source/WebKit2/ChangeLog	2013-11-14 01:59:52 UTC (rev 159267)
@@ -1,5 +1,15 @@
 2013-11-13  Dan Bernstein  <[email protected]>
 
+        REGRESSION (r159263): caused 50+ crashes on all mac webkit2 bots
+        https://bugs.webkit.org/show_bug.cgi?id=124327
+
+        Reviewed by Tim Horton.
+
+        * Shared/Cocoa/APIObject.mm:
+        (API::Object::newObject): Allocate extra memory for the WebError inside the WKNSError.
+
+2013-11-13  Dan Bernstein  <[email protected]>
+
         [Cocoa] Add WKNSError
         https://bugs.webkit.org/show_bug.cgi?id=124295
 

Modified: trunk/Source/WebKit2/Shared/Cocoa/APIObject.mm (159266 => 159267)


--- trunk/Source/WebKit2/Shared/Cocoa/APIObject.mm	2013-11-14 01:20:57 UTC (rev 159266)
+++ trunk/Source/WebKit2/Shared/Cocoa/APIObject.mm	2013-11-14 01:59:52 UTC (rev 159267)
@@ -75,7 +75,7 @@
         break;
 
     case Type::Error:
-        wrapper = [WKNSError alloc];
+        wrapper = NSAllocateObject([WKNSError self], size, nullptr);
         break;
 
     case Type::NavigationData:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to