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 e1f568279c247ac7eda513c6db4d71b01780ba57..c7e11d39773d075376369910872f0777255586b0 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 |
@@ -59,7 +59,7 @@ public class SuggestionPopup implements OnSuggestionsReceivedListener, TextWatch |
public void onLayoutChange(View v, int left, int top, int right, int bottom, |
int oldLeft, int oldTop, int oldRight, int oldBottom) { |
if (mSuggestionsPopup == null || !mSuggestionsPopup.isShowing()) return; |
- mSuggestionsPopup.setWidth(mUrlField.getWidth()); |
+ mSuggestionsPopup.setWidth(mToolbar.getWidth()); |
mSuggestionsPopup.setHeight(getSuggestionPopupHeight()); |
mSuggestionsPopup.show(); |
} |