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

Unified Diff: third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoader.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/loader/modulescript/ModuleScriptLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoader.cpp b/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoader.cpp
index ce8f50df7e1b4941463696b63ffb6645909fd88e..392276bcfedea9e6893c541ff3a9dc5f12703c08 100644
--- a/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/modulescript/ModuleScriptLoader.cpp
@@ -198,7 +198,7 @@ void ModuleScriptLoader::NotifyFinished(Resource*) {
}
// Step 8. Let source text be the result of UTF-8 decoding response's body.
- String source_text = GetResource()->Script();
+ String source_text = GetResource()->SourceText();
AccessControlStatus access_control_status =
GetResource()->CalculateAccessControlStatus(

Powered by Google App Engine
This is Rietveld 408576698