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

Unified Diff: Source/core/svg/SVGImageElement.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/SVGGraphicsElement.cpp ('k') | Source/core/svg/SVGLengthContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGImageElement.cpp
diff --git a/Source/core/svg/SVGImageElement.cpp b/Source/core/svg/SVGImageElement.cpp
index 6b2986798444731cfae80b4d72bfeeec1df8c477..39aa67442aff27613887e07d993e5c84bc3c30b2 100644
--- a/Source/core/svg/SVGImageElement.cpp
+++ b/Source/core/svg/SVGImageElement.cpp
@@ -65,7 +65,7 @@ DEFINE_TRACE(SVGImageElement)
bool SVGImageElement::currentFrameHasSingleSecurityOrigin() const
{
- if (LayoutSVGImage* renderSVGImage = toLayoutSVGImage(renderer())) {
+ if (LayoutSVGImage* renderSVGImage = toLayoutSVGImage(layoutObject())) {
if (renderSVGImage->imageResource()->hasImage()) {
if (Image* image = renderSVGImage->imageResource()->cachedImage()->image())
return image->currentFrameHasSingleSecurityOrigin();
@@ -155,7 +155,7 @@ void SVGImageElement::svgAttributeChanged(const QualifiedName& attrName)
return;
}
- LayoutObject* renderer = this->renderer();
+ LayoutObject* renderer = this->layoutObject();
if (!renderer)
return;
@@ -195,7 +195,7 @@ void SVGImageElement::attach(const AttachContext& context)
{
SVGGraphicsElement::attach(context);
- if (LayoutSVGImage* imageObj = toLayoutSVGImage(renderer())) {
+ if (LayoutSVGImage* imageObj = toLayoutSVGImage(layoutObject())) {
if (imageObj->imageResource()->hasImage())
return;
« no previous file with comments | « Source/core/svg/SVGGraphicsElement.cpp ('k') | Source/core/svg/SVGLengthContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698