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

Unified Diff: Source/core/loader/cache/ScriptResource.cpp

Issue 22572005: Remove all uses of the ASCIILiteral class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rm it from wtf Created 7 years, 4 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 | « Source/core/loader/TextTrackLoader.cpp ('k') | Source/core/page/ContentSecurityPolicy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/cache/ScriptResource.cpp
diff --git a/Source/core/loader/cache/ScriptResource.cpp b/Source/core/loader/cache/ScriptResource.cpp
index 6d870cb24376395a418968c7615ce92f47330bee..b6e9189bc26025694955140574ba2c283c3190e7 100644
--- a/Source/core/loader/cache/ScriptResource.cpp
+++ b/Source/core/loader/cache/ScriptResource.cpp
@@ -36,7 +36,7 @@ namespace WebCore {
ScriptResource::ScriptResource(const ResourceRequest& resourceRequest, const String& charset)
: Resource(resourceRequest, Script)
- , m_decoder(TextResourceDecoder::create(ASCIILiteral("application/javascript"), charset))
+ , m_decoder(TextResourceDecoder::create("application/javascript", charset))
{
DEFINE_STATIC_LOCAL(const AtomicString, acceptScript, ("*/*", AtomicString::ConstructFromLiteral));
« no previous file with comments | « Source/core/loader/TextTrackLoader.cpp ('k') | Source/core/page/ContentSecurityPolicy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698