Index: Source/core/testing/Internals.cpp |
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp |
index f312c9065ea572bb4fa5ec9c5ff465903a591a6a..e453595285acb6d9e98a70fb5814babb3abd58cd 100644 |
--- a/Source/core/testing/Internals.cpp |
+++ b/Source/core/testing/Internals.cpp |
@@ -2220,7 +2220,7 @@ bool Internals::isSelectPopupVisible(Node* node) |
HTMLSelectElement& select = toHTMLSelectElement(*node); |
RenderObject* renderer = select.renderer(); |
- if (!renderer->isMenuList()) |
+ if (!renderer || !renderer->isMenuList()) |
return false; |
RenderMenuList* menuList = toRenderMenuList(renderer); |