| Index: Source/core/css/DOMWindowCSS.cpp
|
| diff --git a/Source/core/css/DOMWindowCSS.cpp b/Source/core/css/DOMWindowCSS.cpp
|
| index 37da48d1cb441fec82a1b8d9b3a96cea53f936c8..acc71ea4854bf4faf6f21642893ab8fe0efb6158 100644
|
| --- a/Source/core/css/DOMWindowCSS.cpp
|
| +++ b/Source/core/css/DOMWindowCSS.cpp
|
| @@ -30,7 +30,7 @@
|
| #include "config.h"
|
| #include "core/css/DOMWindowCSS.h"
|
|
|
| -#include "core/css/parser/BisonCSSParser.h"
|
| +#include "core/css/parser/CSSParser.h"
|
| #include "core/css/RuntimeCSSEnabled.h"
|
| #include "core/css/StylePropertySet.h"
|
| #include "wtf/text/WTFString.h"
|
| @@ -65,7 +65,7 @@ bool DOMWindowCSS::supports(const String& property, const String& value) const
|
| if (!RuntimeCSSEnabled::isCSSPropertyEnabled(propertyID))
|
| return false;
|
|
|
| - // BisonCSSParser::parseValue() won't work correctly if !important is present,
|
| + // CSSParser::parseValue() won't work correctly if !important is present,
|
| // so just get rid of it. It doesn't matter to supports() if it's actually
|
| // there or not, provided how it's specified in the value is correct.
|
| String normalizedValue = value.stripWhiteSpace().simplifyWhiteSpace();
|
| @@ -75,7 +75,7 @@ bool DOMWindowCSS::supports(const String& property, const String& value) const
|
| return false;
|
|
|
| RefPtr<MutableStylePropertySet> dummyStyle = MutableStylePropertySet::create();
|
| - return BisonCSSParser::parseValue(dummyStyle.get(), propertyID, normalizedValue, false, HTMLStandardMode, 0);
|
| + return CSSParser::parseValue(dummyStyle.get(), propertyID, normalizedValue, false, HTMLStandardMode, 0);
|
| }
|
|
|
| bool DOMWindowCSS::supports(const String& conditionText) const
|
|
|