| Index: chrome/browser/views/autocomplete/autocomplete_popup_win.cc
|
| ===================================================================
|
| --- chrome/browser/views/autocomplete/autocomplete_popup_win.cc (revision 18879)
|
| +++ 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_);
|
|
|