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

Unified Diff: Source/core/rendering/svg/RenderSVGModelObject.cpp

Issue 61753005: Remove SVGLocatable and SVGTransformable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix nits Created 7 years, 1 month 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/rendering/svg/RenderSVGModelObject.cpp
diff --git a/Source/core/rendering/svg/RenderSVGModelObject.cpp b/Source/core/rendering/svg/RenderSVGModelObject.cpp
index 56312a7af54146da356bc2c3051541e8fdc0e858..64af94758722afe8d0c48e8176dd4cafbbdd6775 100644
--- a/Source/core/rendering/svg/RenderSVGModelObject.cpp
+++ b/Source/core/rendering/svg/RenderSVGModelObject.cpp
@@ -35,7 +35,7 @@
#include "SVGNames.h"
#include "core/rendering/svg/RenderSVGRoot.h"
#include "core/rendering/svg/SVGResourcesCache.h"
-#include "core/svg/SVGElement.h"
+#include "core/svg/SVGGraphicsElement.h"
namespace WebCore {
@@ -128,7 +128,7 @@ static void getElementCTM(SVGElement* element, AffineTransform& transform)
ASSERT(element);
element->document().updateLayoutIgnorePendingStylesheets();
- SVGElement* stopAtElement = SVGLocatable::nearestViewportElement(element);
+ SVGElement* stopAtElement = SVGGraphicsElement::nearestViewportElement(element);
ASSERT(stopAtElement);
AffineTransform localTransform;

Powered by Google App Engine
This is Rietveld 408576698