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

Unified Diff: third_party/WebKit/Source/core/loader/resource/ScriptResource.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/loader/resource/ScriptResource.h
diff --git a/third_party/WebKit/Source/core/loader/resource/ScriptResource.h b/third_party/WebKit/Source/core/loader/resource/ScriptResource.h
index e376ee78550ed51daa7f109be9347c2e176cf6d3..5bd6a8be1c6b0e689c7c66c2400253c1c816d2f4 100644
--- a/third_party/WebKit/Source/core/loader/resource/ScriptResource.h
+++ b/third_party/WebKit/Source/core/loader/resource/ScriptResource.h
@@ -72,7 +72,7 @@ class CORE_EXPORT ScriptResource final : public TextResource {
void DestroyDecodedDataForFailedRevalidation() override;
- const String& Script();
+ const String& SourceText();
static bool MimeTypeAllowedByNosniff(const ResourceResponse&);
@@ -94,7 +94,7 @@ class CORE_EXPORT ScriptResource final : public TextResource {
const ResourceLoaderOptions&,
const String& charset);
- AtomicString script_;
+ AtomicString source_text_;
};
DEFINE_RESOURCE_TYPE_CASTS(Script);

Powered by Google App Engine
This is Rietveld 408576698