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

Unified Diff: third_party/WebKit/Source/core/animation/CSSInterpolationType.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
diff --git a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
index ff48065087d8527517427ea5ce6adcf79b3dd242..39e3dffabc2d51e7bf31fc15206fa8c3d961dfb9 100644
--- a/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
+++ b/third_party/WebKit/Source/core/animation/CSSInterpolationType.cpp
@@ -48,8 +48,8 @@ class ResolvedVariableChecker
// full CSSValue resolve.
bool omit_animation_tainted = false;
const CSSValue* resolved_value =
- CSSVariableResolver::ResolveVariableReferences(
- state, property_, *variable_reference_, omit_animation_tainted);
+ CSSVariableResolver(state).ResolveVariableReferences(
+ property_, *variable_reference_, omit_animation_tainted);
return DataEquivalent(resolved_value_.Get(), resolved_value);
}
@@ -144,8 +144,8 @@ InterpolationValue CSSInterpolationType::MaybeConvertSingleInternal(
value->IsPendingSubstitutionValue()) {
bool omit_animation_tainted = false;
const CSSValue* resolved_value =
- CSSVariableResolver::ResolveVariableReferences(
- state, CssProperty(), *value, omit_animation_tainted);
+ CSSVariableResolver(state).ResolveVariableReferences(
+ CssProperty(), *value, omit_animation_tainted);
conversion_checkers.push_back(
ResolvedVariableChecker::Create(CssProperty(), value, resolved_value));
value = resolved_value;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698