| Index: chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java
|
| diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java
|
| index 63e65b7bf8165e92eb2fe1ff8e176fd6b3426725..50dc4585c027245a5fa4a5322113b8ed5d77b7c6 100644
|
| --- a/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java
|
| +++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/SuggestionPopup.java
|
| @@ -104,10 +104,10 @@ public class SuggestionPopup implements OnSuggestionsReceivedListener, TextWatch
|
|
|
| private int getSuggestionPopupHeight() {
|
| Rect appRect = new Rect();
|
| - ((ChromeShellActivity) mContext).getWindow().getDecorView().
|
| - getWindowVisibleDisplayFrame(appRect);
|
| - int dropDownItemHeight = mContext.getResources().
|
| - getDimensionPixelSize(R.dimen.dropdown_item_height);
|
| + ((ChromeShellActivity) mContext).getWindow().getDecorView()
|
| + .getWindowVisibleDisplayFrame(appRect);
|
| + int dropDownItemHeight = mContext.getResources()
|
| + .getDimensionPixelSize(R.dimen.dropdown_item_height);
|
| // Applying margin height equal to |dropDownItemHeight| if constrained by app rect.
|
| int popupHeight = appRect.height() - dropDownItemHeight;
|
| if (mSuggestionsPopup != null) {
|
|
|