Index: Source/core/css/parser/BisonCSSParser-in.cpp |
diff --git a/Source/core/css/parser/BisonCSSParser-in.cpp b/Source/core/css/parser/BisonCSSParser-in.cpp |
index b77044b993c7e784bfea3ccbb2cfc40938f38606..78b2ff15f28e68c39a37480d6a8305ab99c16306 100644 |
--- a/Source/core/css/parser/BisonCSSParser-in.cpp |
+++ b/Source/core/css/parser/BisonCSSParser-in.cpp |
@@ -28,6 +28,7 @@ |
#include "core/css/parser/BisonCSSParser.h" |
#include "core/CSSValueKeywords.h" |
+#include "core/MediaTypeNames.h" |
#include "core/StylePropertyShorthand.h" |
#include "core/css/CSSAspectRatioValue.h" |
#include "core/css/CSSBasicShapes.h" |
@@ -1533,12 +1534,12 @@ MediaQuery* BisonCSSParser::createFloatingMediaQuery(MediaQuery::Restrictor rest |
MediaQuery* BisonCSSParser::createFloatingMediaQuery(PassOwnPtrWillBeRawPtr<WillBeHeapVector<OwnPtrWillBeMember<MediaQueryExp> > > expressions) |
{ |
- return createFloatingMediaQuery(MediaQuery::None, AtomicString("all", AtomicString::ConstructFromLiteral), expressions); |
+ return createFloatingMediaQuery(MediaQuery::None, MediaTypeNames::all, expressions); |
} |
MediaQuery* BisonCSSParser::createFloatingNotAllQuery() |
{ |
- return createFloatingMediaQuery(MediaQuery::Not, AtomicString("all", AtomicString::ConstructFromLiteral), sinkFloatingMediaQueryExpList(createFloatingMediaQueryExpList())); |
+ return createFloatingMediaQuery(MediaQuery::Not, MediaTypeNames::all, sinkFloatingMediaQueryExpList(createFloatingMediaQueryExpList())); |
} |
PassOwnPtrWillBeRawPtr<MediaQuery> BisonCSSParser::sinkFloatingMediaQuery(MediaQuery* query) |