Index: third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
index 0311a0f773e614c0ca158c0be056aaecdabe1fab..0b439d853146ba9791e8b18509722ab81f0df182 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
@@ -1984,7 +1984,9 @@ |
m_popupIsVisible = true; |
LayoutMenuList* menuList = toLayoutMenuList(layoutObject()); |
- m_popup->show(); |
+ IntSize size = pixelSnappedIntRect(menuList->frameRect()).size(); |
+ // TODO(tkent): Remove show() arguments. They are unused. |
+ m_popup->show(FloatQuad(), size, optionToListIndex(selectedIndex())); |
if (AXObjectCache* cache = document().existingAXObjectCache()) |
cache->didShowMenuListPopup(menuList); |
} |