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

Unified Diff: Source/core/css/resolver/AnimatedStyleBuilder.cpp

Issue 772043003: Make CSSToStyleMap static. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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: Source/core/css/resolver/AnimatedStyleBuilder.cpp
diff --git a/Source/core/css/resolver/AnimatedStyleBuilder.cpp b/Source/core/css/resolver/AnimatedStyleBuilder.cpp
index 2de537eb86a486c25cfbbf64ed45384e70b3f96f..2d77bac2b524720ff35505b114c9e7bf2b83c4c6 100644
--- a/Source/core/css/resolver/AnimatedStyleBuilder.cpp
+++ b/Source/core/css/resolver/AnimatedStyleBuilder.cpp
@@ -136,12 +136,12 @@ LengthSize animatableValueToLengthSize(const AnimatableValue* value, const Style
animatableValueToLength(animatableLengthSize->height(), state, range));
}
-void setFillSize(FillLayer* fillLayer, const AnimatableValue* value, const StyleResolverState& state)
+void setFillSize(FillLayer* fillLayer, const AnimatableValue* value, StyleResolverState& state)
{
if (value->isLengthSize())
fillLayer->setSize(FillSize(SizeLength, animatableValueToLengthSize(value, state, ValueRangeNonNegative)));
else
- state.styleMap().mapFillSize(fillLayer, toAnimatableUnknown(value)->toCSSValue().get());
+ CSSToStyleMap::mapFillSize(state, fillLayer, toAnimatableUnknown(value)->toCSSValue().get());
}
PassRefPtrWillBeRawPtr<SVGLength> animatableValueToNonNegativeSVGLength(const AnimatableValue* value)
« no previous file with comments | « Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl ('k') | Source/core/css/resolver/CSSToStyleMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698