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

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

Issue 2160483002: Make CSSStyleValue::toCSSValue() return a const CSSValue* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_make_cssvaluepair_take_const
Patch Set: 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/cssom/CSSTransformValue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/cssom/CSSStyleValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSStyleValue.h b/third_party/WebKit/Source/core/css/cssom/CSSStyleValue.h
index 90f4077612689062b88b92231a15490b44d4bbd8..a4195f174d7c1b922547517cae6cb243a0f1de3a 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSStyleValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSStyleValue.h
@@ -37,8 +37,8 @@ public:
static ScriptValue parse(ScriptState*, const String& propertyName, const String& value, ExceptionState&);
- virtual CSSValue* toCSSValue() const = 0;
- virtual CSSValue* toCSSValueWithProperty(CSSPropertyID) const
+ virtual const CSSValue* toCSSValue() const = 0;
+ virtual const CSSValue* toCSSValueWithProperty(CSSPropertyID) const
{
return toCSSValue();
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/cssom/CSSTransformValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698