diff options
Diffstat (limited to 'chrome/browser/views/importer_view.cc')
-rw-r--r-- | chrome/browser/views/importer_view.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/views/importer_view.cc b/chrome/browser/views/importer_view.cc index 3d9e93f..87d3001 100644 --- a/chrome/browser/views/importer_view.cc +++ b/chrome/browser/views/importer_view.cc @@ -125,7 +125,9 @@ bool ImporterView::Accept() { Browser* browser = BrowserList::GetLastActive(); int selected_index = profile_combobox_->GetSelectedItem(); - StartImportingWithUI(browser->GetTopLevelHWND(), items, importer_host_.get(), + HWND parent_hwnd = + reinterpret_cast<HWND>(browser->window()->GetNativeHandle()); + StartImportingWithUI(parent_hwnd, items, importer_host_.get(), importer_host_->GetSourceProfileInfoAt(selected_index), profile_, this, false); // We return false here to prevent the window from being closed. We will be |