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

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

Issue 1214633005: Remove CSS clients of ImageResource (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 5 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 | « sky/engine/core/animation/animatable/AnimatableValueTestHelper.cpp ('k') | sky/engine/core/core.gni » ('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 e6de16d4b04bb9b65edce0320202916119d695ed..52b05cd5c41badedcf29bdd5e88e87666818ab85 100644
--- a/sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp
+++ b/sky/engine/core/animation/css/CSSAnimatableValueFactory.cpp
@@ -35,7 +35,6 @@
#include "sky/engine/core/animation/animatable/AnimatableColor.h"
#include "sky/engine/core/animation/animatable/AnimatableDouble.h"
#include "sky/engine/core/animation/animatable/AnimatableFilterOperations.h"
-#include "sky/engine/core/animation/animatable/AnimatableImage.h"
#include "sky/engine/core/animation/animatable/AnimatableLength.h"
#include "sky/engine/core/animation/animatable/AnimatableLengthBox.h"
#include "sky/engine/core/animation/animatable/AnimatableLengthBoxAndBool.h"
@@ -141,10 +140,6 @@ inline static PassRefPtr<AnimatableValue> createFromLengthSize(const LengthSize&
inline static PassRefPtr<AnimatableValue> createFromStyleImage(StyleImage* image)
{
- if (image) {
- if (RefPtr<CSSValue> cssValue = image->cssValue())
- return AnimatableImage::create(cssValue.release());
- }
return AnimatableUnknown::create(CSSValueNone);
}
« no previous file with comments | « sky/engine/core/animation/animatable/AnimatableValueTestHelper.cpp ('k') | sky/engine/core/core.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698