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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp

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/LayoutSVGInlineText.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
index 466390d3ab748d0bde2d8bc0fc0592ddf9eb7790..eb984c0fa05ddb6a38b04ca01190ff92b89e932c 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInlineText.cpp
@@ -122,7 +122,7 @@ LayoutRect LayoutSVGInlineText::localCaretRect(InlineBox* box,
FloatRect LayoutSVGInlineText::floatLinesBoundingBox() const {
FloatRect boundingBox;
for (InlineTextBox* box = firstTextBox(); box; box = box->nextTextBox())
- boundingBox.unite(FloatRect(box->calculateBoundaries()));
+ boundingBox.unite(FloatRect(box->frameRect()));
return boundingBox;
}

Powered by Google App Engine
This is Rietveld 408576698