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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSUnsupportedStyleValue.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
Index: third_party/WebKit/Source/core/css/cssom/CSSUnsupportedStyleValue.h
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSUnsupportedStyleValue.h b/third_party/WebKit/Source/core/css/cssom/CSSUnsupportedStyleValue.h
index 6b4f62236e31f67ac2e00ea46444e7a268e1fd66..5466186038de8835b6e1229985e31dbca389ffa4 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSUnsupportedStyleValue.h
+++ b/third_party/WebKit/Source/core/css/cssom/CSSUnsupportedStyleValue.h
@@ -18,8 +18,8 @@ public:
}
StyleValueType type() const override { return StyleValueType::Unknown; }
- CSSValue* toCSSValue() const override;
- CSSValue* toCSSValueWithProperty(CSSPropertyID) const override;
+ const CSSValue* toCSSValue() const override;
+ const CSSValue* toCSSValueWithProperty(CSSPropertyID) const override;
String cssText() const override { return m_cssText; }
private:

Powered by Google App Engine
This is Rietveld 408576698