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

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXInlineTextBox.cpp

Issue 1433253003: [Line Layout API] Convert AbstractInlineTextBox to new line layout API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove layoutObject() method Created 5 years 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/line/InlineTextBox.h ('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/modules/accessibility/AXInlineTextBox.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXInlineTextBox.cpp b/third_party/WebKit/Source/modules/accessibility/AXInlineTextBox.cpp
index 5f1efc797ed2b6cfefb1cd5dfa67915a76669d12..56f009b79bfbef25f10a743a3ecb1291bf431cfe 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXInlineTextBox.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXInlineTextBox.cpp
@@ -128,8 +128,8 @@ AXObject* AXInlineTextBox::computeParent() const
if (!m_inlineTextBox || !m_axObjectCache)
return 0;
- LayoutText* layoutText = m_inlineTextBox->layoutText();
- return m_axObjectCache->getOrCreate(layoutText);
+ LineLayoutText lineLayoutText = m_inlineTextBox->lineLayoutItem();
+ return m_axObjectCache->getOrCreate(lineLayoutText);
}
// In addition to LTR and RTL direction, edit fields also support
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/InlineTextBox.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698