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

Unified Diff: third_party/WebKit/Source/core/dom/ScriptLoader.h

Issue 2497873002: Tidy up ScriptLoader (MIME) type matching. (Closed)
Patch Set: perform case-insensitive equality checks over ASCII only Created 4 years, 1 month 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/dom/ScriptLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/ScriptLoader.h
diff --git a/third_party/WebKit/Source/core/dom/ScriptLoader.h b/third_party/WebKit/Source/core/dom/ScriptLoader.h
index 08c8a1be5c80e648218b279a5b92fc594ffcb72e..e242e32ca77fe62450c48969f77d3b952078e0b2 100644
--- a/third_party/WebKit/Source/core/dom/ScriptLoader.h
+++ b/third_party/WebKit/Source/core/dom/ScriptLoader.h
@@ -127,7 +127,7 @@ class CORE_EXPORT ScriptLoader : public GarbageCollectedFinalized<ScriptLoader>,
private:
bool ignoresLoadRequest() const;
bool isScriptForEventSupported() const;
- void logScriptMimetype(ScriptResource*, LocalFrame*, String);
+ void logScriptMIMEType(LocalFrame*, ScriptResource*, const String&);
bool fetchScript(const String& sourceUrl, FetchRequest::DeferOption);
bool doExecuteScript(const ScriptSourceCode&);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/ScriptLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698