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

Unified Diff: Source/core/rendering/RenderText.h

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/RenderText.h
diff --git a/Source/core/rendering/RenderText.h b/Source/core/rendering/RenderText.h
index e02afaffa9df801bbef0ad1cfba4c145aa47ad32..9f9d3a5f1fcf2d47ca4fad51d2e694ac713bf879 100644
--- a/Source/core/rendering/RenderText.h
+++ b/Source/core/rendering/RenderText.h
@@ -60,7 +60,7 @@ public:
virtual unsigned textStartOffset() const { return 0; }
String plainText() const;
- InlineTextBox* createInlineTextBox();
+ InlineTextBox* createInlineTextBox(int start, unsigned short length);
void dirtyLineBoxes(bool fullLayout);
virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) const OVERRIDE FINAL;
@@ -156,7 +156,7 @@ protected:
virtual void addLayerHitTestRects(LayerHitTestRects&, const RenderLayer* currentLayer, const LayoutPoint& layerOffset, const LayoutRect& containerRect) const OVERRIDE;
- virtual InlineTextBox* createTextBox(); // Subclassed by SVG.
+ virtual InlineTextBox* createTextBox(int start, unsigned short length); // Subclassed by SVG.
private:
void computePreferredLogicalWidths(float leadWidth);

Powered by Google App Engine
This is Rietveld 408576698