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

Unified Diff: Source/core/svg/SVGForeignObjectElement.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/SVGForeignObjectElement.cpp
diff --git a/Source/core/svg/SVGForeignObjectElement.cpp b/Source/core/svg/SVGForeignObjectElement.cpp
index be23af376a9f2e4f2322cbb8f2764a4408ab1e8a..94e543a6a218fe2afa9f208d8137e9de9d585e0a 100644
--- a/Source/core/svg/SVGForeignObjectElement.cpp
+++ b/Source/core/svg/SVGForeignObjectElement.cpp
@@ -122,7 +122,7 @@ void SVGForeignObjectElement::svgAttributeChanged(const QualifiedName& attrName)
isWidthHeightAttribute ? StyleChangeReasonForTracing::create(StyleChangeReason::SVGContainerSizeChange) : StyleChangeReasonForTracing::fromAttribute(attrName));
updateRelativeLengthsInformation();
- if (LayoutObject* renderer = this->renderer())
+ if (LayoutObject* renderer = this->layoutObject())
markForLayoutAndParentResourceInvalidation(renderer);
}
}
@@ -141,7 +141,7 @@ bool SVGForeignObjectElement::rendererIsNeeded(const LayoutStyle& style)
// parentOrShadowHostElement() instead.
Element* ancestor = parentElement();
while (ancestor && ancestor->isSVGElement()) {
- if (ancestor->renderer() && ancestor->renderer()->isSVGHiddenContainer())
+ if (ancestor->layoutObject() && ancestor->layoutObject()->isSVGHiddenContainer())
return false;
ancestor = ancestor->parentElement();

Powered by Google App Engine
This is Rietveld 408576698