Index: third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp |
index 6fc6c070d179659be1265f482642ca16d1119922..43bc7c68aa71fa66f36efe9d151e39fa99ebee79 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.cpp |
@@ -86,4 +86,14 @@ StylePropertySet* StyleResolverState::customPropertySetForApplyAtRule(const Stri |
return m_customPropertySetsForApplyAtRule.get(string); |
} |
+HeapHashMap<CSSPropertyID, Member<const CSSValue>>& StyleResolverState::parsedPropertiesForPendingSubstitution(const CSSValue& psv) |
Timothy Loh
2016/06/27 04:19:10
no abbreviations in blink :)
Andy Mutton
2016/06/28 03:18:51
Done.
|
+{ |
+ HeapHashMap<CSSPropertyID, Member<const CSSValue>>* map = m_parsedPropertiesForPendingSubstitution.get(&psv); |
+ if (!map) { |
+ map = new HeapHashMap<CSSPropertyID, Member<const CSSValue>>; |
+ m_parsedPropertiesForPendingSubstitution.set(&psv, map); |
+ } |
+ return *map; |
+} |
+ |
} // namespace blink |