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

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

Issue 2518363003: Refactor InlineBox::calculateBoundaries() (Closed)
Patch Set: Rebase 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/line/SVGInlineFlowBox.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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; }
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/line/SVGInlineFlowBox.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698