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

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

Issue 2807343002: Rename ScriptResource/WorkerScriptLoader::Script() to SourceText() (Closed)
Patch Set: Created 3 years, 8 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/InProcessWorkerBase.cpp
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
index bf5e32b2d843b74e22b02ce363f8a27952229ae0..2e2b29fcfeca7d38460d1eef3da2fb89a2b08a7b 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
@@ -96,9 +96,9 @@ void InProcessWorkerBase::OnFinished() {
} else {
context_proxy_->StartWorkerGlobalScope(
script_loader_->Url(), GetExecutionContext()->UserAgent(),
- script_loader_->Script(), script_loader_->GetReferrerPolicy());
+ script_loader_->SourceText(), script_loader_->GetReferrerPolicy());
probe::scriptImported(GetExecutionContext(), script_loader_->Identifier(),
- script_loader_->Script());
+ script_loader_->SourceText());
}
script_loader_ = nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698