Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index a9cf5c51b5f18e846456a954b5e9d5a419329b68..3068d0a5f4a62c6d76b8f9f100382a326803eb01 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -1987,7 +1987,7 @@ String Internals::baseURL(Document* document, ExceptionCode& ec) |
bool Internals::isSelectPopupVisible(Node* node) |
{ |
- if (!isHTMLSelectElement(node)) |
+ if (!node->hasTagName(HTMLNames::selectTag)) |
return false; |
HTMLSelectElement* select = toHTMLSelectElement(node); |