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

Unified Diff: Source/core/page/UserContentURLPattern.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/page/PageVisibilityState.cpp ('k') | Source/core/platform/animation/CSSAnimationData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/UserContentURLPattern.cpp
diff --git a/Source/core/page/UserContentURLPattern.cpp b/Source/core/page/UserContentURLPattern.cpp
index 1ebf43fdb03fd5768f6ddd1c3a141496349af2cc..18fb2a7021e5056d2459b2aa92bb91739265654e 100644
--- a/Source/core/page/UserContentURLPattern.cpp
+++ b/Source/core/page/UserContentURLPattern.cpp
@@ -64,7 +64,7 @@ bool UserContentURLPattern::matchesPatterns(const KURL& url, const Vector<String
bool UserContentURLPattern::parse(const String& pattern)
{
- DEFINE_STATIC_LOCAL(const String, schemeSeparator, (ASCIILiteral("://")));
+ DEFINE_STATIC_LOCAL(const String, schemeSeparator, ("://"));
size_t schemeEndPos = pattern.find(schemeSeparator);
if (schemeEndPos == notFound)
« no previous file with comments | « Source/core/page/PageVisibilityState.cpp ('k') | Source/core/platform/animation/CSSAnimationData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698