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

Unified Diff: Source/core/svg/graphics/SVGImage.cpp

Issue 933953003: Move the remaining rendering/svg/RenderSVG* files to layout. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/SVGStopElement.cpp ('k') | WATCHLISTS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/graphics/SVGImage.cpp
diff --git a/Source/core/svg/graphics/SVGImage.cpp b/Source/core/svg/graphics/SVGImage.cpp
index 514271db532e17ac150bcb18d34e21033a394345..994662e20a887f3a343bd4bf71706675579cf19c 100644
--- a/Source/core/svg/graphics/SVGImage.cpp
+++ b/Source/core/svg/graphics/SVGImage.cpp
@@ -36,12 +36,12 @@
#include "core/frame/LocalFrame.h"
#include "core/frame/Settings.h"
#include "core/layout/style/LayoutStyle.h"
+#include "core/layout/svg/LayoutSVGRoot.h"
#include "core/loader/FrameLoadRequest.h"
#include "core/page/Chrome.h"
#include "core/paint/CompositingRecorder.h"
#include "core/paint/FloatClipRecorder.h"
#include "core/paint/TransformRecorder.h"
-#include "core/rendering/svg/RenderSVGRoot.h"
#include "core/svg/SVGDocumentExtensions.h"
#include "core/svg/SVGFEImageElement.h"
#include "core/svg/SVGImageElement.h"
@@ -143,7 +143,7 @@ void SVGImage::setContainerSize(const IntSize& size)
FrameView* view = frameView();
view->resize(this->containerSize());
- RenderSVGRoot* renderer = toRenderSVGRoot(rootElement->renderer());
+ LayoutSVGRoot* renderer = toLayoutSVGRoot(rootElement->renderer());
if (!renderer)
return;
renderer->setContainerSize(size);
@@ -155,7 +155,7 @@ IntSize SVGImage::containerSize() const
if (!rootElement)
return IntSize();
- RenderSVGRoot* renderer = toRenderSVGRoot(rootElement->renderer());
+ LayoutSVGRoot* renderer = toLayoutSVGRoot(rootElement->renderer());
if (!renderer)
return IntSize();
« no previous file with comments | « Source/core/svg/SVGStopElement.cpp ('k') | WATCHLISTS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698