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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp
index f2efb16116e97781cfcfc576ab8713804bc5477a..bf9a7485dbc09732882dbb4a99c3d1010b4f0a19 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.cpp
@@ -19,7 +19,7 @@ ScriptSourceCode::ScriptSourceCode(const String& source,
}
ScriptSourceCode::ScriptSourceCode(ScriptResource* resource)
- : source_(resource->Script()),
+ : source_(resource->SourceText()),
resource_(resource),
start_position_(TextPosition::MinimumPosition()) {
TreatNullSourceAsEmpty();
@@ -27,7 +27,7 @@ ScriptSourceCode::ScriptSourceCode(ScriptResource* resource)
ScriptSourceCode::ScriptSourceCode(ScriptStreamer* streamer,
ScriptResource* resource)
- : source_(resource->Script()),
+ : source_(resource->SourceText()),
resource_(resource),
streamer_(streamer),
start_position_(TextPosition::MinimumPosition()) {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698