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

Unified Diff: third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.h

Issue 2518363003: Refactor InlineBox::calculateBoundaries() (Closed)
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.h
diff --git a/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.h b/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.h
index 25c83e93dbb0e3bd38c127289ca17aadddababe4..2e28c1d1b7c07c0ef66c6e5a2e7e5b3a81cee5ed 100644
--- a/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.h
+++ b/third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.h
@@ -51,7 +51,8 @@ class SVGInlineTextBox final : public InlineTextBox {
int& startPosition,
int& endPosition) const;
- LayoutRect calculateBoundaries() const override;
+ // Calculate the bounding rect of all text fragments.
+ LayoutRect calculateBoundaries() const;
void clearTextFragments() { m_textFragments.clear(); }
Vector<SVGTextFragment>& textFragments() { return m_textFragments; }

Powered by Google App Engine
This is Rietveld 408576698