Index: Source/web/WebSharedWorkerImpl.cpp |
diff --git a/Source/web/WebSharedWorkerImpl.cpp b/Source/web/WebSharedWorkerImpl.cpp |
index 92cdf2cc488ef3a920f13c8e9f4eb6c93b352942..b8b3140dbfd3faf0e74ec65173fb2b6fc409d5c5 100644 |
--- a/Source/web/WebSharedWorkerImpl.cpp |
+++ b/Source/web/WebSharedWorkerImpl.cpp |
@@ -148,7 +148,7 @@ void WebSharedWorkerImpl::didCreateDataSource(WebFrame*, WebDataSource* ds) |
{ |
// Tell the loader to load the data into the 'shadow page' synchronously, |
// so we can grab the resulting Document right after load. |
- static_cast<WebDataSourceImpl*>(ds)->setDeferMainResourceDataLoad(false); |
+ toWebDataSourceImpl(ds)->setDeferMainResourceDataLoad(false); |
} |
WebApplicationCacheHost* WebSharedWorkerImpl::createApplicationCacheHost(WebFrame*, WebApplicationCacheHostClient* appcacheHostClient) |