summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/importer.cc')
-rw-r--r--chrome/browser/importer.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/browser/importer.cc b/chrome/browser/importer.cc
index 2053527..f0b2b51 100644
--- a/chrome/browser/importer.cc
+++ b/chrome/browser/importer.cc
@@ -340,12 +340,8 @@ void ImporterHost::Observe(NotificationType type,
}
void ImporterHost::ShowWarningDialog() {
- ImporterLockView* view = new ImporterLockView(this);
- ChromeViews::Window* dialog =
- ChromeViews::Window::CreateChromeWindow(
- GetActiveWindow(), gfx::Rect(), view, view);
- dialog->Show();
- view->set_dialog(dialog);
+ ChromeViews::Window::CreateChromeWindow(GetActiveWindow(), gfx::Rect(),
+ new ImporterLockView(this))->Show();
}
void ImporterHost::OnLockViewEnd(bool is_continue) {