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

Unified Diff: Source/core/workers/Worker.cpp

Issue 165443003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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
« no previous file with comments | « Source/core/testing/v8/WebCoreTestSupport.cpp ('k') | Source/core/workers/WorkerGlobalScopeProxyProvider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/Worker.cpp
diff --git a/Source/core/workers/Worker.cpp b/Source/core/workers/Worker.cpp
index f75b7ac74a1c51b381eb8bae266ed29ff13cb264..6fdc15ba89032c564df047ed899cb27a5bbae79a 100644
--- a/Source/core/workers/Worker.cpp
+++ b/Source/core/workers/Worker.cpp
@@ -56,7 +56,7 @@ PassRefPtr<Worker> Worker::create(ExecutionContext* context, const String& url,
Document* document = toDocument(context);
UseCounter::count(context, UseCounter::WorkerStart);
ASSERT(document->page());
- WorkerGlobalScopeProxyProvider* proxyProvider = WorkerGlobalScopeProxyProvider::from(document->page());
+ WorkerGlobalScopeProxyProvider* proxyProvider = WorkerGlobalScopeProxyProvider::from(*document->page());
ASSERT(proxyProvider);
RefPtr<Worker> worker = adoptRef(new Worker(context));
« no previous file with comments | « Source/core/testing/v8/WebCoreTestSupport.cpp ('k') | Source/core/workers/WorkerGlobalScopeProxyProvider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698