Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(658)

Unified Diff: chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc

Issue 22679003: InstantExtended(gtk): Hide top match if told to so. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reorder member functions. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc
diff --git a/chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc b/chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc
index 15fa357f0098b89889a4076ee0f1ed428057baa7..1f66a2134156ad0afeaf2ead7311590bbb628245 100644
--- a/chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc
+++ b/chrome/browser/ui/gtk/omnibox/omnibox_view_gtk.cc
@@ -212,9 +212,10 @@ OmniboxViewGtk::OmniboxViewGtk(OmniboxEditController* controller,
supports_pre_edit_(!gtk_check_version(2, 20, 0)),
pre_edit_size_before_change_(0),
going_to_focus_(NULL) {
- popup_view_.reset(
- new OmniboxPopupViewGtk
- (GetFont(), this, model(), location_bar));
+ OmniboxPopupViewGtk* view = new OmniboxPopupViewGtk(
+ GetFont(), this, model(), location_bar);
+ view->Init();
+ popup_view_.reset(view);
}
OmniboxViewGtk::~OmniboxViewGtk() {

Powered by Google App Engine
This is Rietveld 408576698