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

Unified Diff: third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.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/line/AbstractInlineTextBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp b/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp
index e994d2a7f078488b3d41bf2411695ea503c18b94..cc758ad52000d8d58c74399e5a95cf0cbf68a56e 100644
--- a/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp
@@ -100,7 +100,7 @@ LayoutRect AbstractInlineTextBox::localBounds() const {
if (!m_inlineTextBox || !m_lineLayoutItem)
return LayoutRect();
- return m_inlineTextBox->calculateBoundaries();
+ return m_inlineTextBox->frameRect();
}
unsigned AbstractInlineTextBox::len() const {

Powered by Google App Engine
This is Rietveld 408576698