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

Unified Diff: Source/core/svg/SVGElement.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/SVGClipPathElement.cpp ('k') | Source/core/svg/SVGEllipseElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElement.cpp
diff --git a/Source/core/svg/SVGElement.cpp b/Source/core/svg/SVGElement.cpp
index 7b6a0525a1357414a3a09ab203a8f6f6a840c450..db44e21f4b7593b00df898d7bc28d914c3f343fd 100644
--- a/Source/core/svg/SVGElement.cpp
+++ b/Source/core/svg/SVGElement.cpp
@@ -418,7 +418,7 @@ void SVGElement::invalidateRelativeLengthClients(SubtreeLayoutScope* layoutScope
TemporaryChange<bool> inRelativeLengthClientsInvalidationChange(m_inRelativeLengthClientsInvalidation, true);
#endif
- LayoutObject* renderer = this->renderer();
+ LayoutObject* renderer = this->layoutObject();
if (renderer && selfHasRelativeLengths()) {
if (renderer->isSVGResourceContainer())
toLayoutSVGResourceContainer(renderer)->invalidateCacheAndMarkForLayout(layoutScope);
@@ -879,7 +879,7 @@ void SVGElement::svgAttributeChanged(const QualifiedName& attrName)
}
if (isIdAttributeName(attrName)) {
- LayoutObject* object = renderer();
+ LayoutObject* object = layoutObject();
// Notify resources about id changes, this is important as we cache resources by id in SVGDocumentExtensions
if (object && object->isSVGResourceContainer())
toLayoutSVGResourceContainer(object)->idChanged();
@@ -918,7 +918,7 @@ PassRefPtr<LayoutStyle> SVGElement::customStyleForRenderer()
LayoutStyle* style = 0;
if (Element* parent = parentOrShadowHostElement()) {
- if (LayoutObject* renderer = parent->renderer())
+ if (LayoutObject* renderer = parent->layoutObject())
style = renderer->style();
}
@@ -950,7 +950,7 @@ LayoutStyle* SVGElement::computedStyle(PseudoId pseudoElementSpecifier)
LayoutStyle* parentStyle = 0;
if (Element* parent = parentOrShadowHostElement()) {
- if (LayoutObject* renderer = parent->renderer())
+ if (LayoutObject* renderer = parent->layoutObject())
parentStyle = renderer->style();
}
« no previous file with comments | « Source/core/svg/SVGClipPathElement.cpp ('k') | Source/core/svg/SVGEllipseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698