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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp

Issue 1264453002: Split the constructor of ThreadableLoader into two methods (ctor and start()) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed pipes around non-variables in a comment Created 4 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
Index: third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp b/third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp
index 9706db2da54ff55eb109a9ef1abe829e41a75930..d49b7e4c50feafe3791f76459ddf146324b33f77 100644
--- a/third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerScriptLoader.cpp
@@ -100,7 +100,8 @@ void WorkerScriptLoader::loadAsynchronously(ExecutionContext& executionContext,
// (E.g. see crbug.com/524694 for why we can't easily remove this protect)
RefPtr<WorkerScriptLoader> protect(this);
m_needToCancel = true;
- m_threadableLoader = ThreadableLoader::create(executionContext, this, request, options, resourceLoaderOptions);
+ m_threadableLoader = ThreadableLoader::create(executionContext, this, options, resourceLoaderOptions);
+ m_threadableLoader->start(request);
if (m_failed)
notifyFinished();
}

Powered by Google App Engine
This is Rietveld 408576698