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

Unified Diff: Source/core/css/MediaList.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/css/CSSPropertySourceData.cpp ('k') | Source/core/css/StyleSheetContents.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaList.cpp
diff --git a/Source/core/css/MediaList.cpp b/Source/core/css/MediaList.cpp
index fd60ac596514e90d8464eb02c4d17708fe5c8839..d2a17502112af8c9bc91aee91c4a56ec742c6a90 100644
--- a/Source/core/css/MediaList.cpp
+++ b/Source/core/css/MediaList.cpp
@@ -234,11 +234,11 @@ static void addResolutionWarningMessageToConsole(Document* document, const Strin
ASSERT(document);
ASSERT(value);
- DEFINE_STATIC_LOCAL(String, mediaQueryMessage, (ASCIILiteral("Consider using 'dppx' units instead of '%replacementUnits%', as in CSS '%replacementUnits%' means dots-per-CSS-%lengthUnit%, not dots-per-physical-%lengthUnit%, so does not correspond to the actual '%replacementUnits%' of a screen. In media query expression: ")));
- DEFINE_STATIC_LOCAL(String, mediaValueDPI, (ASCIILiteral("dpi")));
- DEFINE_STATIC_LOCAL(String, mediaValueDPCM, (ASCIILiteral("dpcm")));
- DEFINE_STATIC_LOCAL(String, lengthUnitInch, (ASCIILiteral("inch")));
- DEFINE_STATIC_LOCAL(String, lengthUnitCentimeter, (ASCIILiteral("centimeter")));
+ DEFINE_STATIC_LOCAL(String, mediaQueryMessage, ("Consider using 'dppx' units instead of '%replacementUnits%', as in CSS '%replacementUnits%' means dots-per-CSS-%lengthUnit%, not dots-per-physical-%lengthUnit%, so does not correspond to the actual '%replacementUnits%' of a screen. In media query expression: "));
+ DEFINE_STATIC_LOCAL(String, mediaValueDPI, ("dpi"));
+ DEFINE_STATIC_LOCAL(String, mediaValueDPCM, ("dpcm"));
+ DEFINE_STATIC_LOCAL(String, lengthUnitInch, ("inch"));
+ DEFINE_STATIC_LOCAL(String, lengthUnitCentimeter, ("centimeter"));
String message;
if (value->isDotsPerInch())
« no previous file with comments | « Source/core/css/CSSPropertySourceData.cpp ('k') | Source/core/css/StyleSheetContents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698