diff options
Diffstat (limited to 'chrome/browser/native_ui_contents.cc')
-rw-r--r-- | chrome/browser/native_ui_contents.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/native_ui_contents.cc b/chrome/browser/native_ui_contents.cc index 840bb91..0c87e8b 100644 --- a/chrome/browser/native_ui_contents.cc +++ b/chrome/browser/native_ui_contents.cc @@ -148,10 +148,9 @@ NativeUIContents::~NativeUIContents() { path_to_native_uis_.end()); } -void NativeUIContents::CreateView(HWND parent_hwnd, - const gfx::Rect& initial_bounds) { +void NativeUIContents::CreateView() { set_delete_on_destroy(false); - ContainerWin::Init(parent_hwnd, initial_bounds, false); + ContainerWin::Init(GetDesktopWindow(), gfx::Rect(), false); } LRESULT NativeUIContents::OnCreate(LPCREATESTRUCT create_struct) { |