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

Unified Diff: third_party/WebKit/Source/core/css/DOMWindowCSS.cpp

Issue 2279133002: Remove CSSVariables RuntimeEnabledFeatures flag (status=stable) (Closed)
Patch Set: Created 4 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
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 3434d8602a39211e47b982c4192848adc16e5392..763f7b5f17f862e8f955ad0c42b6881d0d803d5a 100644
--- a/third_party/WebKit/Source/core/css/DOMWindowCSS.cpp
+++ b/third_party/WebKit/Source/core/css/DOMWindowCSS.cpp
@@ -43,7 +43,7 @@ bool DOMWindowCSS::supports(const String& property, const String& value)
{
CSSPropertyID unresolvedProperty = unresolvedCSSPropertyID(property);
if (unresolvedProperty == CSSPropertyInvalid) {
- if (RuntimeEnabledFeatures::cssVariablesEnabled() && CSSVariableParser::isValidVariableName(property)) {
+ if (CSSVariableParser::isValidVariableName(property)) {
MutableStylePropertySet* dummyStyle = MutableStylePropertySet::create(HTMLStandardMode);
return CSSParser::parseValueForCustomProperty(dummyStyle, "--valid", value, false, 0);
}

Powered by Google App Engine
This is Rietveld 408576698