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

Unified Diff: sky/engine/core/animation/DeferredLegacyStyleInterpolation.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/DeferredLegacyStyleInterpolation.cpp
diff --git a/sky/engine/core/animation/DeferredLegacyStyleInterpolation.cpp b/sky/engine/core/animation/DeferredLegacyStyleInterpolation.cpp
index a2ef3e86ea0bf9afc13b522cb09511ce04ca79bf..0c00b6f5e99b216eb41deeffa8c8f6fa1f5894bf 100644
--- a/sky/engine/core/animation/DeferredLegacyStyleInterpolation.cpp
+++ b/sky/engine/core/animation/DeferredLegacyStyleInterpolation.cpp
@@ -5,7 +5,6 @@
#include "sky/engine/core/animation/DeferredLegacyStyleInterpolation.h"
#include "sky/engine/core/animation/LegacyStyleInterpolation.h"
-#include "sky/engine/core/css/CSSImageValue.h"
#include "sky/engine/core/css/CSSPrimitiveValue.h"
#include "sky/engine/core/css/CSSShadowValue.h"
#include "sky/engine/core/css/CSSValueList.h"
@@ -36,8 +35,6 @@ bool DeferredLegacyStyleInterpolation::interpolationRequiresStyleResolve(const C
case CSSValue::CSS_VALUE_LIST:
return interpolationRequiresStyleResolve(toCSSValueList(value));
case CSSValue::CSS_CUSTOM:
- if (value.isImageValue())
- return interpolationRequiresStyleResolve(toCSSImageValue(value));
if (value.isShadowValue())
return interpolationRequiresStyleResolve(toCSSShadowValue(value));
// FIXME: consider other custom types.
@@ -97,11 +94,6 @@ bool DeferredLegacyStyleInterpolation::interpolationRequiresStyleResolve(const C
return (primitiveValue.getValueID() != CSSValueNone);
}
-bool DeferredLegacyStyleInterpolation::interpolationRequiresStyleResolve(const CSSImageValue& imageValue)
-{
- return false;
-}
-
bool DeferredLegacyStyleInterpolation::interpolationRequiresStyleResolve(const CSSShadowValue& shadowValue)
{
return (shadowValue.x && interpolationRequiresStyleResolve(*shadowValue.x))
« no previous file with comments | « sky/engine/core/animation/DeferredLegacyStyleInterpolation.h ('k') | sky/engine/core/animation/animatable/AnimatableImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698