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

Unified Diff: chrome/browser/browser_process_impl.h

Issue 501011: Speculative fix for a chrome browser crash which occurs with ChromeFrame. Bas... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years 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_main_win.cc ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.h
===================================================================
--- chrome/browser/browser_process_impl.h (revision 34559)
+++ chrome/browser/browser_process_impl.h (working copy)
@@ -164,21 +164,9 @@
CreateDebuggerWrapper(port);
}
- virtual unsigned int AddRefModule() {
- DCHECK(CalledOnValidThread());
- module_ref_count_++;
- return module_ref_count_;
- }
+ virtual unsigned int AddRefModule();
- virtual unsigned int ReleaseModule() {
- DCHECK(CalledOnValidThread());
- DCHECK(0 != module_ref_count_);
- module_ref_count_--;
- if (0 == module_ref_count_) {
- MessageLoop::current()->Quit();
- }
- return module_ref_count_;
- }
+ virtual unsigned int ReleaseModule();
virtual bool IsShuttingDown() {
DCHECK(CalledOnValidThread());
« no previous file with comments | « chrome/browser/browser_main_win.cc ('k') | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698