| Index: chrome/browser/browser_process_impl.h
|
| diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
|
| index 703d70c58384f04cef73364a5e9db338a58b904e..186618faad84032cd74398dde784d79d1bcfe118 100644
|
| --- a/chrome/browser/browser_process_impl.h
|
| +++ b/chrome/browser/browser_process_impl.h
|
| @@ -171,7 +171,7 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe {
|
|
|
| virtual bool IsShuttingDown() {
|
| DCHECK(CalledOnValidThread());
|
| - return 0 == module_ref_count_;
|
| + return did_start_ && 0 == module_ref_count_;
|
| }
|
|
|
| virtual printing::PrintJobManager* print_job_manager();
|
| @@ -303,6 +303,7 @@ class BrowserProcessImpl : public BrowserProcess, public NonThreadSafe {
|
| scoped_ptr<NotificationService> main_notification_service_;
|
|
|
| unsigned int module_ref_count_;
|
| + bool did_start_;
|
|
|
| // Ensures that all the print jobs are finished before closing the browser.
|
| scoped_ptr<printing::PrintJobManager> print_job_manager_;
|
|
|