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

Unified Diff: Source/core/svg/SVGImageElement.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master 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
Index: Source/core/svg/SVGImageElement.cpp
diff --git a/Source/core/svg/SVGImageElement.cpp b/Source/core/svg/SVGImageElement.cpp
index ee089820e974a755783ac52ce7423e94858e3be2..6665d7feb4071b4529e2195c689e5ae0e294026a 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;

Powered by Google App Engine
This is Rietveld 408576698