summaryrefslogtreecommitdiffstats
path: root/chrome/browser/importer
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 17:38:46 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 17:38:46 +0000
commit04194f5820fc1ebcf824e4f2be01743099d23da9 (patch)
tree216c1f61edc4f60c0ffd85b5a10d0de7a5b9da1b /chrome/browser/importer
parent264a4883bdd91b50b1e83499a48321c096bdaa5e (diff)
downloadchromium_src-04194f5820fc1ebcf824e4f2be01743099d23da9.zip
chromium_src-04194f5820fc1ebcf824e4f2be01743099d23da9.tar.gz
chromium_src-04194f5820fc1ebcf824e4f2be01743099d23da9.tar.bz2
Fix Firefox import lock dialog on Windows.
BUG=50577 TEST= run chrome first_run with import while Firefox is default browser and open. Dialog should pop up telling user to close FF. Review URL: http://codereview.chromium.org/2868077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54920 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/importer')
-rw-r--r--chrome/browser/importer/importer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/importer/importer.cc b/chrome/browser/importer/importer.cc
index 99b574a..c599988 100644
--- a/chrome/browser/importer/importer.cc
+++ b/chrome/browser/importer/importer.cc
@@ -123,7 +123,7 @@ void ImporterHost::ShowWarningDialog() {
OnLockViewEnd(false);
} else {
#if defined(OS_WIN)
- views::Window::CreateChromeWindow(GetActiveWindow(), gfx::Rect(),
+ views::Window::CreateChromeWindow(NULL, gfx::Rect(),
new ImporterLockView(this))->Show();
#elif defined(TOOLKIT_USES_GTK)
ImportLockDialogGtk::Show(parent_window_, this);