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

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

Issue 1118133003: Rename rendering in core/svg. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/SVGUnknownElement.h ('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 2031eb879da53e5161571d65888d2fb1d9a45a3d..8f19468ddfc89ddaaaa10b711f3bcaf86b1253a5 100644
--- a/Source/core/svg/graphics/SVGImage.cpp
+++ b/Source/core/svg/graphics/SVGImage.cpp
@@ -145,10 +145,10 @@ void SVGImage::setContainerSize(const IntSize& size)
FrameView* view = frameView();
view->resize(this->containerSize());
- LayoutSVGRoot* renderer = toLayoutSVGRoot(rootElement->layoutObject());
- if (!renderer)
+ LayoutSVGRoot* layoutObject = toLayoutSVGRoot(rootElement->layoutObject());
+ if (!layoutObject)
return;
- renderer->setContainerSize(size);
+ layoutObject->setContainerSize(size);
}
IntSize SVGImage::containerSize() const
@@ -157,21 +157,21 @@ IntSize SVGImage::containerSize() const
if (!rootElement)
return IntSize();
- LayoutSVGRoot* renderer = toLayoutSVGRoot(rootElement->layoutObject());
- if (!renderer)
+ LayoutSVGRoot* layoutObject = toLayoutSVGRoot(rootElement->layoutObject());
+ if (!layoutObject)
return IntSize();
// If a container size is available it has precedence.
- IntSize containerSize = renderer->containerSize();
+ IntSize containerSize = layoutObject->containerSize();
if (!containerSize.isEmpty())
return containerSize;
// Assure that a container size is always given for a non-identity zoom level.
- ASSERT(renderer->style()->effectiveZoom() == 1);
+ ASSERT(layoutObject->style()->effectiveZoom() == 1);
FloatSize intrinsicSize;
double intrinsicRatio = 0;
- renderer->computeIntrinsicRatioInformation(intrinsicSize, intrinsicRatio);
+ layoutObject->computeIntrinsicRatioInformation(intrinsicSize, intrinsicRatio);
if (intrinsicSize.isEmpty() && intrinsicRatio) {
if (!intrinsicSize.width() && intrinsicSize.height())
« no previous file with comments | « Source/core/svg/SVGUnknownElement.h ('k') | Source/core/svg/graphics/filters/SVGFEImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698