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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp

Issue 2878853002: Make CSSVariableResolver's interface object based instead of static functions (Closed)
Patch Set: rebased Created 3 years, 7 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/StyleBuilderCustom.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
index 54bcb994514113982ccaa633bf4890a301df9d28..32f29b8b1542fc06db14f8216431846cc4ed94f3 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
@@ -119,8 +119,8 @@ void StyleBuilder::ApplyProperty(CSSPropertyID id,
bool omit_animation_tainted =
CSSAnimations::IsAnimationAffectingProperty(id);
const CSSValue* resolved_value =
- CSSVariableResolver::ResolveVariableReferences(state, id, value,
- omit_animation_tainted);
+ CSSVariableResolver(state).ResolveVariableReferences(
+ id, value, omit_animation_tainted);
ApplyProperty(id, state, *resolved_value);
if (!state.Style()->HasVariableReferenceFromNonInheritedProperty() &&

Powered by Google App Engine
This is Rietveld 408576698