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

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

Issue 622253002: Pass start/length at InlineTextBox construction time. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: condense by one line 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
Index: Source/core/rendering/svg/SVGInlineTextBox.cpp
diff --git a/Source/core/rendering/svg/SVGInlineTextBox.cpp b/Source/core/rendering/svg/SVGInlineTextBox.cpp
index f8e6350717b59862a14fa0831c83d64691201d0a..1f583968c4cb948979ef6d3f00e3d22e6db66845 100644
--- a/Source/core/rendering/svg/SVGInlineTextBox.cpp
+++ b/Source/core/rendering/svg/SVGInlineTextBox.cpp
@@ -55,8 +55,8 @@ struct ExpectedSVGInlineTextBoxSize : public InlineTextBox {
COMPILE_ASSERT(sizeof(SVGInlineTextBox) == sizeof(ExpectedSVGInlineTextBoxSize), SVGInlineTextBox_is_not_of_expected_size);
-SVGInlineTextBox::SVGInlineTextBox(RenderObject& object)
- : InlineTextBox(object)
+SVGInlineTextBox::SVGInlineTextBox(RenderObject& object, int start, unsigned short length)
+ : InlineTextBox(object, start, length)
, m_logicalHeight(0)
, m_startsNewTextChunk(false)
{

Powered by Google App Engine
This is Rietveld 408576698