diff options
author | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 17:38:46 +0000 |
---|---|---|
committer | mirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-04 17:38:46 +0000 |
commit | 04194f5820fc1ebcf824e4f2be01743099d23da9 (patch) | |
tree | 216c1f61edc4f60c0ffd85b5a10d0de7a5b9da1b /chrome/browser/importer | |
parent | 264a4883bdd91b50b1e83499a48321c096bdaa5e (diff) | |
download | chromium_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.cc | 2 |
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); |