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

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

Issue 1773813007: blink: Rename modules/ method to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-modules: rebase-fixes Created 4 years, 9 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/modules/accessibility/AXListBox.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXListBox.cpp b/third_party/WebKit/Source/modules/accessibility/AXListBox.cpp
index d025d1be8809b2cc09f0eaa5d0538a50259e4794..0d04e157dc1f8063e67b47eab36176414e71c943 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXListBox.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXListBox.cpp
@@ -64,10 +64,10 @@ AccessibilityRole AXListBox::determineAccessibilityRole()
AXObject* AXListBox::activeDescendant() const
{
- if (!isHTMLSelectElement(node()))
+ if (!isHTMLSelectElement(getNode()))
return nullptr;
- HTMLSelectElement* select = toHTMLSelectElement(node());
+ HTMLSelectElement* select = toHTMLSelectElement(getNode());
int activeIndex = select->activeSelectionEndListIndex();
if (activeIndex >= 0 && activeIndex < static_cast<int>(select->length())) {
HTMLOptionElement* option = select->item(m_activeIndex);
@@ -79,10 +79,10 @@ AXObject* AXListBox::activeDescendant() const
void AXListBox::activeIndexChanged()
{
- if (!isHTMLSelectElement(node()))
+ if (!isHTMLSelectElement(getNode()))
return;
- HTMLSelectElement* select = toHTMLSelectElement(node());
+ HTMLSelectElement* select = toHTMLSelectElement(getNode());
int activeIndex = select->activeSelectionEndListIndex();
if (activeIndex == m_activeIndex)
return;

Powered by Google App Engine
This is Rietveld 408576698