summaryrefslogtreecommitdiffstats
path: root/WebKit/mac/WebView/WebViewData.mm
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/mac/WebView/WebViewData.mm')
-rw-r--r--WebKit/mac/WebView/WebViewData.mm6
1 files changed, 5 insertions, 1 deletions
diff --git a/WebKit/mac/WebView/WebViewData.mm b/WebKit/mac/WebView/WebViewData.mm
index 21ba4c8..bf81dad 100644
--- a/WebKit/mac/WebView/WebViewData.mm
+++ b/WebKit/mac/WebView/WebViewData.mm
@@ -65,7 +65,11 @@ int pluginDatabaseClientCount = 0;
dashboardBehaviorAllowWheelScrolling = YES;
#endif
- shouldCloseWithWindow = objc_collecting_enabled();
+#if !defined(BUILDING_ON_TIGER)
+ shouldCloseWithWindow = objc_collectingEnabled();
+#else
+ shouldCloseWithWindow = NO;
+#endif
smartInsertDeleteEnabled = ![[NSUserDefaults standardUserDefaults] objectForKey:WebSmartInsertDeleteEnabled]
|| [[NSUserDefaults standardUserDefaults] boolForKey:WebSmartInsertDeleteEnabled];