| 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 a2cca350f1509490173efa3c80d9cf4fb101e60e..94a0c76b00ea12387d5cae5df3e054bed448e2e1 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLSelectElement.cpp
|
| @@ -2021,8 +2021,12 @@ void HTMLSelectElement::showPopup()
|
| return;
|
| if (!layoutObject() || !layoutObject()->isMenuList())
|
| return;
|
| + // Disable visibility check on Android. elementRectRelativeToViewport()
|
| + // doesn't work well on Android WebView. crbug.com/632561
|
| +#if !OS(ANDROID)
|
| if (elementRectRelativeToViewport().isEmpty())
|
| return;
|
| +#endif
|
|
|
| if (!m_popup)
|
| m_popup = document().frameHost()->chromeClient().openPopupMenu(*document().frame(), *this);
|
|
|