Reviewed by Geoff, Darin.
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Mar 2007 19:09:33 +0000 (19:09 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Mar 2007 19:09:33 +0000 (19:09 +0000)
        <rdar://problem/5077892> In RapidWeaver 3.5.1, a crash occurs when attempting to load Safari Bookmarks in iMedia Browser

        * platform/mac/ThreadCheck.mm:
        (WebCore::_WebCoreThreadViolationCheck):
        Change default on Tiger to NSLog rather than raise an exception.

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

WebCore/ChangeLog
WebCore/platform/mac/ThreadCheck.mm

index 2ac2ed823327d1d378431ac3b59237b8453863aa..82992f0cc2c2cffc16cbfab300ab71dfbec994fb 100644 (file)
@@ -1,3 +1,13 @@
+2007-03-22  David Harrison  <harrison@apple.com>
+
+        Reviewed by Geoff, Darin.
+
+        <rdar://problem/5077892> In RapidWeaver 3.5.1, a crash occurs when attempting to load Safari Bookmarks in iMedia Browser
+        
+        * platform/mac/ThreadCheck.mm:
+        (WebCore::_WebCoreThreadViolationCheck):
+        Change default on Tiger to NSLog rather than raise an exception.
+
 2007-03-22  Darin Adler  <darin@apple.com>
 
         Reviewed by Brady.
index 59ed3450d246dd281f9a7b3c38947995d8139c2e..6c1d548dc0fd5fd4f4dc22fdf934e223639ea764 100644 (file)
@@ -31,7 +31,12 @@ void _WebCoreThreadViolationCheck(const char* function)
 {
     static bool fetchDefault = true;
     static bool performThreadCheck = true;
+#ifdef BUILDING_ON_TIGER
+    static bool threadViolationIsException = false;
+#else
     static bool threadViolationIsException = true;
+#endif
+
     if (fetchDefault) {
         NSString *threadCheckLevel = [[NSUserDefaults standardUserDefaults] objectForKey:@"WebCoreThreadCheck"];
         if ([threadCheckLevel isEqualToString:@"None"])