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

Unified Diff: Source/core/svg/SVGAnimatedTypeAnimator.cpp

Issue 656443002: Disable animated clipping on SVG content (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/svg/SVGAnimatedTypeAnimator.cpp
diff --git a/Source/core/svg/SVGAnimatedTypeAnimator.cpp b/Source/core/svg/SVGAnimatedTypeAnimator.cpp
index 087699a8abf35b7df0b1d441e61eae70e6252768..b86e006a25369048569ad227dc1464bc9e772c20 100644
--- a/Source/core/svg/SVGAnimatedTypeAnimator.cpp
+++ b/Source/core/svg/SVGAnimatedTypeAnimator.cpp
@@ -30,6 +30,7 @@
#include "core/svg/SVGLengthList.h"
#include "core/svg/SVGNumber.h"
#include "core/svg/SVGPointList.h"
+#include "core/svg/SVGRect.h"
#include "core/svg/SVGString.h"
#include "core/svg/SVGTransformList.h"
@@ -103,6 +104,11 @@ PassRefPtr<SVGPropertyBase> SVGAnimatedTypeAnimator::createPropertyForAnimation(
property->setValueAsString(value, IGNORE_EXCEPTION);
return property.release();
}
+ case AnimatedRect: {
+ RefPtr<SVGRect> property = SVGRect::create();
+ property->setValueAsString(value, IGNORE_EXCEPTION);
+ return property.release();
+ }
case AnimatedString: {
RefPtr<SVGString> property = SVGString::create();
property->setValueAsString(value, IGNORE_EXCEPTION);
@@ -121,7 +127,6 @@ PassRefPtr<SVGPropertyBase> SVGAnimatedTypeAnimator::createPropertyForAnimation(
case AnimatedPoint:
case AnimatedPoints:
case AnimatedPreserveAspectRatio:
- case AnimatedRect:
case AnimatedStringList:
case AnimatedTransform:
case AnimatedTransformList:

Powered by Google App Engine
This is Rietveld 408576698