Commit bee1492f authored by avi's avatar avi Committed by Commit bot

Fix bug with Android pop-up cancelation.

BUG=407994
TEST=as in bug

Review URL: https://codereview.chromium.org/518443003

Cr-Commit-Position: refs/heads/master@{#292525}
parent fa7127af
...@@ -2330,6 +2330,7 @@ public class ContentViewCore ...@@ -2330,6 +2330,7 @@ public class ContentViewCore
private void showSelectPopup(long nativeSelectPopupSourceFrame, Rect bounds, String[] items, private void showSelectPopup(long nativeSelectPopupSourceFrame, Rect bounds, String[] items,
int[] enabled, boolean multiple, int[] selectedIndices) { int[] enabled, boolean multiple, int[] selectedIndices) {
if (mContainerView.getParent() == null || mContainerView.getVisibility() != View.VISIBLE) { if (mContainerView.getParent() == null || mContainerView.getVisibility() != View.VISIBLE) {
mNativeSelectPopupSourceFrame = nativeSelectPopupSourceFrame;
selectPopupMenuItems(null); selectPopupMenuItems(null);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment