| 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())
|
|
|