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

Unified Diff: sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp

Issue 703563002: Remove shape-outside. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/animation/StringKeyframe.cpp ('k') | sky/engine/core/animation/css/CSSPropertyEquality.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp
diff --git a/sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp b/sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp
index 082f83690a42db5d89b6c82fed13d801bf744a2b..635191ba2b7a368f7e6d2c41dabfaaab4e7c2357 100644
--- a/sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp
+++ b/sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp
@@ -213,13 +213,6 @@ PassRefPtr<AnimatableValue> CSSAnimatableValueFactory::createFromColor(CSSProper
return AnimatableColor::create(color);
}
-inline static PassRefPtr<AnimatableValue> createFromShapeValue(ShapeValue* value)
-{
- if (value)
- return AnimatableShapeValue::create(value);
- return AnimatableUnknown::create(CSSValueNone);
-}
-
static double fontStretchToDouble(FontStretch fontStretch)
{
return static_cast<unsigned>(fontStretch);
@@ -425,12 +418,6 @@ PassRefPtr<AnimatableValue> CSSAnimatableValueFactory::create(CSSPropertyID prop
return AnimatableLengthPoint::create(
createFromLength(style.perspectiveOriginX(), style),
createFromLength(style.perspectiveOriginY(), style));
- case CSSPropertyShapeOutside:
- return createFromShapeValue(style.shapeOutside());
- case CSSPropertyShapeMargin:
- return createFromLength(style.shapeMargin(), style);
- case CSSPropertyShapeImageThreshold:
- return createFromDouble(style.shapeImageThreshold());
case CSSPropertyWebkitTextStrokeColor:
return createFromColor(property, style);
case CSSPropertyTransform:
« no previous file with comments | « sky/engine/core/animation/StringKeyframe.cpp ('k') | sky/engine/core/animation/css/CSSPropertyEquality.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698