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

Unified Diff: third_party/WebKit/Source/core/style/StyleInheritedVariables.cpp

Issue 2630683002: Move custom property isInheritedProperty storage logic into ComputedStyle (Closed)
Patch Set: Undo cscssvm change Created 3 years, 11 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/style/StyleInheritedVariables.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleInheritedVariables.cpp b/third_party/WebKit/Source/core/style/StyleInheritedVariables.cpp
index 46a52baa6b08b05b913df457ec827fed6c5f0a65..fc5e403476c3beab92fc69746e3074f0401f7558 100644
--- a/third_party/WebKit/Source/core/style/StyleInheritedVariables.cpp
+++ b/third_party/WebKit/Source/core/style/StyleInheritedVariables.cpp
@@ -57,7 +57,7 @@ void StyleInheritedVariables::setRegisteredVariable(
m_registeredData.set(name, const_cast<CSSValue*>(parsedValue));
}
-CSSValue* StyleInheritedVariables::registeredVariable(
+const CSSValue* StyleInheritedVariables::registeredVariable(
const AtomicString& name) const {
auto result = m_registeredData.find(name);
if (result != m_registeredData.end())

Powered by Google App Engine
This is Rietveld 408576698