Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Unified Diff: chrome/browser/process_singleton_win.cc

Issue 2664004: Win: Fix race possible during startup before first Browser is created. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: remove no-longer true comment from process_singleton_win Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/process_singleton_win.cc
diff --git a/chrome/browser/process_singleton_win.cc b/chrome/browser/process_singleton_win.cc
index 6454f667fb0047fcd2c771fd6f73b86f779e6605..3f7dd848d3efe2735412d2d13c766a8beba1ab78 100644
--- a/chrome/browser/process_singleton_win.cc
+++ b/chrome/browser/process_singleton_win.cc
@@ -200,9 +200,7 @@ void ProcessSingleton::Cleanup() {
LRESULT ProcessSingleton::OnCopyData(HWND hwnd, const COPYDATASTRUCT* cds) {
// If locked, it means we are not ready to process this message because
- // we are probably in a first run critical phase. We must do this before
- // doing the IsShuttingDown() check since that returns true during first run
- // (since g_browser_process hasn't been AddRefModule()d yet).
+ // we are probably in a first run critical phase.
if (locked_) {
// Attempt to place ourselves in the foreground / flash the task bar.
if (IsWindow(foreground_window_))
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698