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 8589ce73c29f8cb0ede2c804e698777067a8a671..ad4c1d65e14891a663eb1110f58b3a3e37fa2def 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp |
@@ -1984,9 +1984,9 @@ |
m_popupIsVisible = true; |
LayoutMenuList* menuList = toLayoutMenuList(layoutObject()); |
+ FloatQuad quad(menuList->localToAbsoluteQuad(FloatQuad(menuList->borderBoundingBox()))); |
IntSize size = pixelSnappedIntRect(menuList->frameRect()).size(); |
- // TODO(tkent): Remove show() arguments. They are unused. |
- m_popup->show(FloatQuad(), size, optionToListIndex(selectedIndex())); |
+ m_popup->show(quad, size, optionToListIndex(selectedIndex())); |
if (AXObjectCache* cache = document().existingAXObjectCache()) |
cache->didShowMenuListPopup(menuList); |
} |