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

Unified Diff: third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.h

Issue 2366313006: CSS Properties and Values API: Support non-inherited custom properties (Closed)
Patch Set: use de morgan's law Created 4 years, 3 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/resolver/CSSVariableResolver.h
diff --git a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.h b/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.h
index ad83c7362f09b9291fe8ac686ac30f0ce4555797..3f3557dce31cdbcb802acad55689445a432c42cd 100644
--- a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.h
+++ b/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.h
@@ -19,7 +19,8 @@ class CSSVariableData;
class CSSVariableReferenceValue;
class PropertyRegistry;
class StyleResolverState;
-class StyleVariableData;
+class StyleInheritedVariables;
+class StyleNonInheritedVariables;
class CSSVariableResolver {
STACK_ALLOCATED();
@@ -56,7 +57,8 @@ private:
PassRefPtr<CSSVariableData> resolveCustomProperty(AtomicString name, const CSSVariableData&);
const StyleResolverState& m_styleResolverState;
- StyleVariableData* m_styleVariableData;
+ StyleInheritedVariables* m_inheritedVariables;
+ StyleNonInheritedVariables* m_nonInheritedVariables;
Member<const PropertyRegistry> m_registry;
HashSet<AtomicString> m_variablesSeen;
// Resolution doesn't finish when a cycle is detected. Fallbacks still

Powered by Google App Engine
This is Rietveld 408576698