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

Unified Diff: third_party/WebKit/Source/core/css/StylePropertySet.h

Issue 2046243002: Removed the non-const version of PropertyReference::value() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@make_csscursorimagevalue_reresolveurl_const
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/StylePropertySet.h
diff --git a/third_party/WebKit/Source/core/css/StylePropertySet.h b/third_party/WebKit/Source/core/css/StylePropertySet.h
index 179f53e07eb85b76a2bd8cc2b0fbf375d1db904a..3e0b8a0ba969c04bbfb8b7cff80d1c25c6091c77 100644
--- a/third_party/WebKit/Source/core/css/StylePropertySet.h
+++ b/third_party/WebKit/Source/core/css/StylePropertySet.h
@@ -64,8 +64,6 @@ public:
bool isImplicit() const { return propertyMetadata().m_implicit; }
const CSSValue* value() const { return propertyValue(); }
- // FIXME: We should try to remove this mutable overload.
- CSSValue* value() { return const_cast<CSSValue*>(propertyValue()); }
// FIXME: Remove this.
CSSProperty toCSSProperty() const { return CSSProperty(propertyMetadata(), *propertyValue()); }
« no previous file with comments | « third_party/WebKit/Source/core/css/RuleFeature.cpp ('k') | third_party/WebKit/Source/core/css/resolver/StyleResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698