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

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

Issue 622253002: Pass start/length at InlineTextBox construction time. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 2 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/rendering/svg/RenderSVGInlineText.h ('k') | Source/core/rendering/svg/SVGInlineTextBox.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGInlineText.cpp
diff --git a/Source/core/rendering/svg/RenderSVGInlineText.cpp b/Source/core/rendering/svg/RenderSVGInlineText.cpp
index a2399292c5a73a112ec8192d2739e8431b3098e0..e3d1fcf1371ca8da46523a880b8a65c87f19202c 100644
--- a/Source/core/rendering/svg/RenderSVGInlineText.cpp
+++ b/Source/core/rendering/svg/RenderSVGInlineText.cpp
@@ -98,9 +98,9 @@ void RenderSVGInlineText::styleDidChange(StyleDifference diff, const RenderStyle
textRenderer->setNeedsLayoutAndFullPaintInvalidation();
}
-InlineTextBox* RenderSVGInlineText::createTextBox()
+InlineTextBox* RenderSVGInlineText::createTextBox(int start, unsigned short length)
{
- InlineTextBox* box = new SVGInlineTextBox(*this);
+ InlineTextBox* box = new SVGInlineTextBox(*this, start, length);
box->setHasVirtualLogicalHeight();
return box;
}
« no previous file with comments | « Source/core/rendering/svg/RenderSVGInlineText.h ('k') | Source/core/rendering/svg/SVGInlineTextBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698