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

Unified Diff: Source/core/rendering/svg/RenderSVGText.cpp

Issue 715023002: Make SVGTextPositioningElement::elementFromRenderer take a reference (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix compile problem Created 6 years, 1 month 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 | « no previous file | Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGText.cpp
diff --git a/Source/core/rendering/svg/RenderSVGText.cpp b/Source/core/rendering/svg/RenderSVGText.cpp
index 74addd187da30a6665334356c56111d8fa54d666..604ff37483ef2694fb16c1c827fb55988955fbbb 100644
--- a/Source/core/rendering/svg/RenderSVGText.cpp
+++ b/Source/core/rendering/svg/RenderSVGText.cpp
@@ -337,7 +337,7 @@ void RenderSVGText::layout()
ASSERT(m_layoutAttributes.isEmpty());
collectLayoutAttributes(this, m_layoutAttributes);
updateFontInAllDescendants(this);
- m_layoutAttributesBuilder.buildLayoutAttributesForForSubtree(this);
+ m_layoutAttributesBuilder.buildLayoutAttributesForForSubtree(*this);
m_needsReordering = true;
m_needsTextMetricsUpdate = false;
@@ -351,7 +351,7 @@ void RenderSVGText::layout()
m_needsTextMetricsUpdate = false;
}
- m_layoutAttributesBuilder.buildLayoutAttributesForForSubtree(this);
+ m_layoutAttributesBuilder.buildLayoutAttributesForForSubtree(*this);
m_needsReordering = true;
m_needsPositioningValuesUpdate = false;
updateCachedBoundariesInParents = true;
« no previous file with comments | « no previous file | Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698