Commit fb2b7eb6 authored by timothy@apple.com's avatar timothy@apple.com
Browse files

Fix the Tiger build.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent aeaf33ce
......@@ -737,10 +737,16 @@ static void WebKitInitializeApplicationCachePathIfNecessary()
[WebFrame _createMainFrameWithPage:_private->page frameName:frameName frameView:frameView];
#ifndef BUILDING_ON_TIGER
NSRunLoop *runLoop = [NSRunLoop mainRunLoop];
#else
NSRunLoop *runLoop = [NSRunLoop currentRunLoop];
#endif
if (WebKitLinkedOnOrAfter(WEBKIT_FIRST_VERSION_WITH_LOADING_DURING_COMMON_RUNLOOP_MODES))
[self scheduleInRunLoop:[NSRunLoop mainRunLoop] forMode:NSRunLoopCommonModes];
[self scheduleInRunLoop:runLoop forMode:NSRunLoopCommonModes];
else
[self scheduleInRunLoop:[NSRunLoop mainRunLoop] forMode:NSDefaultRunLoopMode];
[self scheduleInRunLoop:runLoop forMode:NSDefaultRunLoopMode];
[self _addToAllWebViewsSet];
[self setGroupName:groupName];
......
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