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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSStyleValue.cpp

Issue 2038363002: Make CSSPropertyParser::parseSingleValue return a const CSSValue* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_remove_const_cast_in_interpolation_type
Patch Set: Rebase Created 4 years, 5 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/cssom/CSSStyleValue.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSStyleValue.cpp b/third_party/WebKit/Source/core/css/cssom/CSSStyleValue.cpp
index 5f8b48a905face8c4f45bb3945465b550ffc1ef7..c82875cb07b2c0a79ac120fa478163461b4ebfed 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSStyleValue.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/CSSStyleValue.cpp
@@ -30,7 +30,7 @@ ScriptValue CSSStyleValue::parse(ScriptState* scriptState, const String& propert
return ScriptValue::createNull(scriptState);
}
- CSSValue* cssValue = CSSParser::parseSingleValue(propertyID, value, strictCSSParserContext());
+ const CSSValue* cssValue = CSSParser::parseSingleValue(propertyID, value, strictCSSParserContext());
if (!cssValue)
return ScriptValue::createNull(scriptState);

Powered by Google App Engine
This is Rietveld 408576698