Commit f29c463e authored by timothy@apple.com's avatar timothy@apple.com

Fix the Tiger build.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30780 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent b0b10404
......@@ -209,6 +209,7 @@ void ResourceHandle::setDefersLoading(bool defers)
void ResourceHandle::schedule(SchedulePair* pair)
{
#ifndef BUILDING_ON_TIGER
NSRunLoop *runLoop = pair->nsRunLoop();
if (!runLoop)
return;
......@@ -217,12 +218,15 @@ void ResourceHandle::schedule(SchedulePair* pair)
[d->m_connection.get() start];
d->m_startWhenScheduled = false;
}
#endif
}
void ResourceHandle::unschedule(SchedulePair* pair)
{
#ifndef BUILDING_ON_TIGER
if (NSRunLoop *runLoop = pair->nsRunLoop())
[d->m_connection.get() unscheduleFromRunLoop:runLoop forMode:(NSString *)pair->mode()];
#endif
}
WebCoreResourceHandleAsDelegate *ResourceHandle::delegate()
......
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