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

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

Issue 140064: Revert :... (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 18902)
+++ chrome/browser/views/autocomplete/autocomplete_popup_win.cc (working copy)
@@ -28,9 +28,7 @@
views::View* contents) {
// Create the popup
WidgetWin::Init(edit_view->parent_view()->GetWidget()->GetNativeView(),
- contents_->GetPopupBounds());
- // The contents is owned by the AutocompleteEditViewWin.
- contents_->SetParentOwned(false);
+ contents_->GetPopupBounds(), false);
// The contents is owned by the LocationBarView.
contents_->SetParentOwned(false);
SetContentsView(contents_);
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_win.cc ('k') | chrome/browser/views/blocked_popup_container_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698