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

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

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/WorkerScriptLoader.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerScriptLoader.h b/third_party/WebKit/Source/core/workers/WorkerScriptLoader.h
index 101514e0d09d59f64b96a4eb9f67845dd52c9ef9..fd444596e3287fd320b1f8a0753c5123e78bb9a2 100644
--- a/third_party/WebKit/Source/core/workers/WorkerScriptLoader.h
+++ b/third_party/WebKit/Source/core/workers/WorkerScriptLoader.h
@@ -77,7 +77,7 @@ class CORE_EXPORT WorkerScriptLoader final
// is in progress.
void Cancel();
- String Script();
+ String SourceText();
const KURL& Url() const { return url_; }
const KURL& ResponseURL() const;
bool Failed() const { return failed_; }
@@ -140,7 +140,7 @@ class CORE_EXPORT WorkerScriptLoader final
Persistent<ThreadableLoader> threadable_loader_;
String response_encoding_;
std::unique_ptr<TextResourceDecoder> decoder_;
- StringBuilder script_;
+ StringBuilder source_text_;
KURL url_;
KURL response_url_;

Powered by Google App Engine
This is Rietveld 408576698