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

Unified Diff: chrome/browser/browser_process_impl.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.h ('k') | chrome/browser/process_singleton_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index ffa2277e16e14ffd00682359f70da2f4aff33584..a9cda45578a5928c37af0b0fe72f0f8725017763 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -86,6 +86,7 @@ BrowserProcessImpl::BrowserProcessImpl(const CommandLine& command_line)
created_devtools_manager_(false),
created_notification_ui_manager_(false),
module_ref_count_(0),
+ did_start_(false),
checked_for_new_frames_(false),
using_new_frames_(false),
have_inspector_files_(true) {
@@ -209,6 +210,7 @@ static void PostQuit(MessageLoop* message_loop) {
unsigned int BrowserProcessImpl::AddRefModule() {
DCHECK(CalledOnValidThread());
+ did_start_ = true;
module_ref_count_++;
return module_ref_count_;
}
« no previous file with comments | « chrome/browser/browser_process_impl.h ('k') | chrome/browser/process_singleton_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698