Index: third_party/WebKit/Source/core/css/DOMWindowCSS.cpp |
diff --git a/third_party/WebKit/Source/core/css/DOMWindowCSS.cpp b/third_party/WebKit/Source/core/css/DOMWindowCSS.cpp |
index 3c5aff723ce4835f0654f1e3ae82f3898928a7b6..3434d8602a39211e47b982c4192848adc16e5392 100644 |
--- a/third_party/WebKit/Source/core/css/DOMWindowCSS.cpp |
+++ b/third_party/WebKit/Source/core/css/DOMWindowCSS.cpp |
@@ -44,8 +44,8 @@ bool DOMWindowCSS::supports(const String& property, const String& value) |
CSSPropertyID unresolvedProperty = unresolvedCSSPropertyID(property); |
if (unresolvedProperty == CSSPropertyInvalid) { |
if (RuntimeEnabledFeatures::cssVariablesEnabled() && CSSVariableParser::isValidVariableName(property)) { |
- RawPtr<MutableStylePropertySet> dummyStyle = MutableStylePropertySet::create(HTMLStandardMode); |
- return CSSParser::parseValueForCustomProperty(dummyStyle.get(), "--valid", value, false, 0); |
+ MutableStylePropertySet* dummyStyle = MutableStylePropertySet::create(HTMLStandardMode); |
+ return CSSParser::parseValueForCustomProperty(dummyStyle, "--valid", value, false, 0); |
} |
return false; |
} |
@@ -53,8 +53,8 @@ bool DOMWindowCSS::supports(const String& property, const String& value) |
ASSERT(CSSPropertyMetadata::isEnabledProperty(unresolvedProperty)); |
// This will return false when !important is present |
- RawPtr<MutableStylePropertySet> dummyStyle = MutableStylePropertySet::create(HTMLStandardMode); |
- return CSSParser::parseValue(dummyStyle.get(), unresolvedProperty, value, false, 0); |
+ MutableStylePropertySet* dummyStyle = MutableStylePropertySet::create(HTMLStandardMode); |
+ return CSSParser::parseValue(dummyStyle, unresolvedProperty, value, false, 0); |
} |
bool DOMWindowCSS::supports(const String& conditionText) |