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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/SVGUseElement.cpp ('k') | Source/core/svg/graphics/filters/SVGFEImage.cpp » ('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 f8ebae6f1b7f83303d691f2219d0edd6f127cdb5..2c1adb6e842adeb1ec95a4454a72feede68f863c 100644
--- a/Source/core/svg/graphics/SVGImage.cpp
+++ b/Source/core/svg/graphics/SVGImage.cpp
@@ -143,7 +143,7 @@ void SVGImage::setContainerSize(const IntSize& size)
FrameView* view = frameView();
view->resize(this->containerSize());
- LayoutSVGRoot* renderer = toLayoutSVGRoot(rootElement->renderer());
+ LayoutSVGRoot* renderer = toLayoutSVGRoot(rootElement->layoutObject());
if (!renderer)
return;
renderer->setContainerSize(size);
@@ -155,7 +155,7 @@ IntSize SVGImage::containerSize() const
if (!rootElement)
return IntSize();
- LayoutSVGRoot* renderer = toLayoutSVGRoot(rootElement->renderer());
+ LayoutSVGRoot* renderer = toLayoutSVGRoot(rootElement->layoutObject());
if (!renderer)
return IntSize();
@@ -331,7 +331,7 @@ LayoutBox* SVGImage::embeddedContentBox() const
SVGSVGElement* rootElement = svgRootElement(m_page.get());
if (!rootElement)
return 0;
- return toLayoutBox(rootElement->renderer());
+ return toLayoutBox(rootElement->layoutObject());
}
FrameView* SVGImage::frameView() const
« no previous file with comments | « Source/core/svg/SVGUseElement.cpp ('k') | Source/core/svg/graphics/filters/SVGFEImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698