summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm')
-rw-r--r--WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm b/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm
index 1538e07..2361f6a 100644
--- a/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm
+++ b/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm
@@ -255,7 +255,7 @@ void MediaPlayerPrivateQTKit::createQTMovie(const String& url)
#endif
nil];
-#if defined(BUILDING_ON_SNOW_LEOPARD)
+#if !defined(BUILDING_ON_LEOPARD)
CFDictionaryRef proxySettings = CFNetworkCopySystemProxySettings();
CFArrayRef proxiesForURL = CFNetworkCopyProxiesForURL((CFURLRef)cocoaURL, proxySettings);
BOOL willUseProxy = YES;
@@ -623,7 +623,7 @@ void MediaPlayerPrivateQTKit::resumeLoad()
{
m_delayingLoad = false;
- if (m_movieURL)
+ if (!m_movieURL.isNull())
loadInternal(m_movieURL);
}