Commit 2d77ea36 authored by thatcher's avatar thatcher

Reviewed by Darin.

        Only enable shouldCloseWithWindow when ObjC GC is enabled.
        This maintains backwards compatibility with applications
        that expect a WebView to be usable after the window closes.

        * WebView/WebView.m:
        (-[WebViewPrivate init]):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 86ef7315
2006-06-30 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin.
Only enable shouldCloseWithWindow when ObjC GC is enabled.
This maintains backwards compatibility with applications
that expect a WebView to be usable after the window closes.
* WebView/WebView.m:
(-[WebViewPrivate init]):
2006-06-30 Timothy Hatcher <timothy@apple.com> 2006-06-30 Timothy Hatcher <timothy@apple.com>
Reviewed by Anders. Reviewed by Anders.
......
...@@ -378,7 +378,7 @@ @implementation WebViewPrivate ...@@ -378,7 +378,7 @@ @implementation WebViewPrivate
settings = [[WebCoreSettings alloc] init]; settings = [[WebCoreSettings alloc] init];
dashboardBehaviorAllowWheelScrolling = YES; dashboardBehaviorAllowWheelScrolling = YES;
tabKeyCyclesThroughElements = YES; tabKeyCyclesThroughElements = YES;
shouldCloseWithWindow = YES; shouldCloseWithWindow = objc_collecting_enabled();
return self; return self;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment