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

Unified Diff: chrome/browser/views/autocomplete/autocomplete_popup_win.cc

Issue 146093: Relanding focus manager refactoring (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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/views/autocomplete/autocomplete_popup_win.cc
===================================================================
--- chrome/browser/views/autocomplete/autocomplete_popup_win.cc (revision 19153)
+++ chrome/browser/views/autocomplete/autocomplete_popup_win.cc (working copy)
@@ -28,7 +28,9 @@
views::View* contents) {
// Create the popup
WidgetWin::Init(edit_view->parent_view()->GetWidget()->GetNativeView(),
- contents_->GetPopupBounds(), false);
+ contents_->GetPopupBounds());
+ // The contents is owned by the AutocompleteEditViewWin.
+ contents_->SetParentOwned(false);
// The contents is owned by the LocationBarView.
contents_->SetParentOwned(false);
SetContentsView(contents_);

Powered by Google App Engine
This is Rietveld 408576698