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

Unified Diff: third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp

Issue 2287433003: Get rid of remaining uses of AXObject::elementRect (Closed)
Patch Set: Rebase Created 4 years, 3 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: 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 421b0056d4c1e4697ac36c0b79a87c402d1579bc..3a6857a4487227d4975c0a64d7e5ae86de7d98e0 100644
--- a/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/AbstractInlineTextBox.cpp
@@ -101,15 +101,6 @@ LayoutRect AbstractInlineTextBox::localBounds() const
return m_inlineTextBox->calculateBoundaries();
}
-LayoutRect AbstractInlineTextBox::absoluteBounds() const
-{
- if (!m_inlineTextBox || !m_lineLayoutItem)
- return LayoutRect();
-
- FloatRect boundaries(m_inlineTextBox->calculateBoundaries());
- return LayoutRect(m_lineLayoutItem.localToAbsoluteQuad(boundaries).enclosingBoundingBox());
-}
-
unsigned AbstractInlineTextBox::len() const
{
if (!m_inlineTextBox)

Powered by Google App Engine
This is Rietveld 408576698