Fix the Tiger build.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Mar 2008 01:21:42 +0000 (01:21 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 5 Mar 2008 01:21:42 +0000 (01:21 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@30780 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/platform/network/mac/ResourceHandleMac.mm

index 6c84ffd..509b09b 100644 (file)
@@ -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()