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

Unified Diff: sky/engine/core/animation/animatable/AnimatableValueTestHelper.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
Index: sky/engine/core/animation/animatable/AnimatableValueTestHelper.cpp
diff --git a/sky/engine/core/animation/animatable/AnimatableValueTestHelper.cpp b/sky/engine/core/animation/animatable/AnimatableValueTestHelper.cpp
index 2a29e78e57c820fc02db60a2419168f4c39c4dfb..0ee944be5a76d01696a231e4db1a4555fbdd558d 100644
--- a/sky/engine/core/animation/animatable/AnimatableValueTestHelper.cpp
+++ b/sky/engine/core/animation/animatable/AnimatableValueTestHelper.cpp
@@ -49,11 +49,6 @@ void PrintTo(const AnimatableColor& animColor, ::std::ostream* os)
<< animColor.color().serialized().utf8().data() << ")";
}
-void PrintTo(const AnimatableImage& animImage, ::std::ostream* os)
-{
- PrintTo(*(animImage.toCSSValue()), os, "AnimatableImage");
-}
-
void PrintTo(const AnimatableNeutral& animValue, ::std::ostream* os)
{
*os << "AnimatableNeutral@" << &animValue;
@@ -138,8 +133,6 @@ void PrintTo(const AnimatableValue& animValue, ::std::ostream* os)
PrintTo(toAnimatableClipPathOperation(animValue), os);
else if (animValue.isColor())
PrintTo(toAnimatableColor(animValue), os);
- else if (animValue.isImage())
- PrintTo(toAnimatableImage(animValue), os);
else if (animValue.isNeutral())
PrintTo(static_cast<const AnimatableNeutral&>(animValue), os);
else if (animValue.isRepeatable())

Powered by Google App Engine
This is Rietveld 408576698