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

Unified Diff: Source/core/accessibility/AXMenuListOption.cpp

Issue 192413002: Use new is*Element() helper functions in accessibility code (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: Source/core/accessibility/AXMenuListOption.cpp
diff --git a/Source/core/accessibility/AXMenuListOption.cpp b/Source/core/accessibility/AXMenuListOption.cpp
index 7dc61b759b49620474ecb14aba725db9ac56cc7f..0c657b36248128c33268032cc6635f053e0bda2e 100644
--- a/Source/core/accessibility/AXMenuListOption.cpp
+++ b/Source/core/accessibility/AXMenuListOption.cpp
@@ -38,7 +38,7 @@ AXMenuListOption::AXMenuListOption()
void AXMenuListOption::setElement(HTMLElement* element)
{
- ASSERT_ARG(element, element->hasTagName(optionTag));
+ ASSERT_ARG(element, isHTMLOptionElement(element));
m_element = element;
}

Powered by Google App Engine
This is Rietveld 408576698