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

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

Issue 18334002: Remove SVGStyledLocatableElement class (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove SVGElement::isStyledLocatable() Created 7 years, 6 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 | « Source/core/svg/SVGGraphicsElement.cpp ('k') | Source/core/svg/SVGStyledLocatableElement.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGLocatable.cpp
diff --git a/Source/core/svg/SVGLocatable.cpp b/Source/core/svg/SVGLocatable.cpp
index d34a49a7a0e2c6ba9147d2c6c687e235e8bf47a0..20cd2dd2988f88f8c820c26b602e8fe1bf21e2da 100644
--- a/Source/core/svg/SVGLocatable.cpp
+++ b/Source/core/svg/SVGLocatable.cpp
@@ -27,7 +27,7 @@
#include "SVGNames.h"
#include "core/dom/ExceptionCode.h"
#include "core/rendering/RenderObject.h"
-#include "core/svg/SVGStyledLocatableElement.h"
+#include "core/svg/SVGGraphicsElement.h"
namespace WebCore {
@@ -102,8 +102,8 @@ AffineTransform SVGLocatable::getTransformToElement(SVGElement* target, Exceptio
{
AffineTransform ctm = getCTM(styleUpdateStrategy);
- if (target && target->isStyledLocatable()) {
- AffineTransform targetCTM = toSVGStyledLocatableElement(target)->getCTM(styleUpdateStrategy);
+ if (target && target->isSVGGraphicsElement()) {
+ AffineTransform targetCTM = toSVGGraphicsElement(target)->getCTM(styleUpdateStrategy);
if (!targetCTM.isInvertible()) {
ec = INVALID_STATE_ERR;
return ctm;
« no previous file with comments | « Source/core/svg/SVGGraphicsElement.cpp ('k') | Source/core/svg/SVGStyledLocatableElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698