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

Unified Diff: Source/core/animation/animatable/AnimatableSVGPaint.cpp

Issue 361543002: Remove SVGPaint (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch for landing Created 6 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: Source/core/animation/animatable/AnimatableSVGPaint.cpp
diff --git a/Source/core/animation/animatable/AnimatableSVGPaint.cpp b/Source/core/animation/animatable/AnimatableSVGPaint.cpp
index a4311cb82fbfa1789f8633bc0b859ff793a4b535..2dd2bb0cc0b012385602456df6d0307455775064 100644
--- a/Source/core/animation/animatable/AnimatableSVGPaint.cpp
+++ b/Source/core/animation/animatable/AnimatableSVGPaint.cpp
@@ -36,8 +36,8 @@ namespace WebCore {
bool AnimatableSVGPaint::usesDefaultInterpolationWith(const AnimatableValue* value) const
{
const AnimatableSVGPaint* svgPaint = toAnimatableSVGPaint(value);
- return (paintType() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR || svgPaint->paintType() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR)
- && (visitedLinkPaintType() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR || svgPaint->visitedLinkPaintType() != SVGPaint::SVG_PAINTTYPE_RGBCOLOR);
+ return (paintType() != SVG_PAINTTYPE_RGBCOLOR || svgPaint->paintType() != SVG_PAINTTYPE_RGBCOLOR)
+ && (visitedLinkPaintType() != SVG_PAINTTYPE_RGBCOLOR || svgPaint->visitedLinkPaintType() != SVG_PAINTTYPE_RGBCOLOR);
}
PassRefPtrWillBeRawPtr<AnimatableValue> AnimatableSVGPaint::interpolateTo(const AnimatableValue* value, double fraction) const
« no previous file with comments | « Source/core/animation/animatable/AnimatableSVGPaint.h ('k') | Source/core/animation/css/CSSPropertyEquality.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698