<rdar://problem/9458300> REGRESSION (r86724): Repro crash loading any webpage in...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 May 2011 04:43:44 +0000 (04:43 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 May 2011 04:43:44 +0000 (04:43 +0000)
https://bugs.webkit.org/show_bug.cgi?id=61022

Reviewed by Alice Liu.

* WebProcess/mac/WebProcessMainMac.mm:
(WebKit::WebProcessMain): As long as we are not loading the shim on Snow Leopard, we should not
try to initialize it.

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

Source/WebKit2/ChangeLog
Source/WebKit2/WebProcess/mac/WebProcessMainMac.mm

index 164b40d..91a2b9a 100644 (file)
@@ -1,3 +1,14 @@
+2011-05-17  Dan Bernstein  <mitz@apple.com>
+
+        Reviewed by Alice Liu.
+
+        <rdar://problem/9458300> REGRESSION (r86724): Repro crash loading any webpage in WebKit2 on SnowLeopard
+        https://bugs.webkit.org/show_bug.cgi?id=61022
+
+        * WebProcess/mac/WebProcessMainMac.mm:
+        (WebKit::WebProcessMain): As long as we are not loading the shim on Snow Leopard, we should not
+        try to initialize it.
+
 2011-05-17  Brady Eidson  <beidson@apple.com>
 
         Rubberstamped by Sam Weinig.
index 128f877..35ebb15 100644 (file)
@@ -90,9 +90,11 @@ int WebProcessMain(const CommandLine& commandLine)
     WTF::initializeMainThread();
     RunLoop::initializeMainRunLoop();
 
+#ifndef BUILDING_ON_SNOW_LEOPARD
     // Initialize the shim.
     WebProcess::shared().initializeShim();
-    
+#endif
+
     // Create the connection.
     WebProcess::shared().initialize(serverPort, RunLoop::main());