diff options
author | marja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-15 15:44:31 +0000 |
---|---|---|
committer | marja@chromium.org <marja@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-15 15:44:31 +0000 |
commit | 6aae28d4394aa30785f31530e20c6a259ef39e01 (patch) | |
tree | ae25dec3f9bb36b72ba0297e5e108a786ae2c6ea /chrome/browser/process_singleton_win.cc | |
parent | f4c912ad64cf85099fee7b8c94603eb2bb061524 (diff) | |
download | chromium_src-6aae28d4394aa30785f31530e20c6a259ef39e01.zip chromium_src-6aae28d4394aa30785f31530e20c6a259ef39e01.tar.gz chromium_src-6aae28d4394aa30785f31530e20c6a259ef39e01.tar.bz2 |
Revert 122079 - Revert 122077 - Revert 122065 - Fix attempt for the double-SessionRestoreImpl problem.
The problem is that BrowserInit::ProcessCommandLineAlreadyRunning gets called too
early, before launching the first profile during normal startup.
BUG=111238
TEST=NONE
Review URL: http://codereview.chromium.org/9365049
TBR=marja@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9402007
TBR=marja@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9409001
TBR=marja@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9403015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122088 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/process_singleton_win.cc')
-rw-r--r-- | chrome/browser/process_singleton_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/process_singleton_win.cc b/chrome/browser/process_singleton_win.cc index 4272c2c..4d20415 100644 --- a/chrome/browser/process_singleton_win.cc +++ b/chrome/browser/process_singleton_win.cc @@ -268,7 +268,7 @@ LRESULT ProcessSingleton::OnCopyData(HWND hwnd, const COPYDATASTRUCT* cds) { NOTIMPLEMENTED(); #else // Attempt to place ourselves in the foreground / flash the task bar. - if (foreground_window_ != NULL && IsWindow(foreground_window_)) + if (IsWindow(foreground_window_)) SetForegroundWindow(foreground_window_); #endif return TRUE; |