Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Unified Diff: Source/web/WebSharedWorkerImpl.cpp

Issue 26434002: Cleanup: Add more conversion helpers for usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698