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

Unified Diff: content/browser/browser_process_sub_thread.h

Issue 10993056: Just because we want to destroy a pointer somewhere other than a destructor doesn't mean we can't u… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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 | « no previous file | content/browser/browser_process_sub_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_process_sub_thread.h
===================================================================
--- content/browser/browser_process_sub_thread.h (revision 158860)
+++ content/browser/browser_process_sub_thread.h (working copy)
@@ -39,9 +39,7 @@
void IOThreadPreCleanUp();
// Each specialized thread has its own notification service.
- // Note: We don't use scoped_ptr because the destructor runs on the wrong
- // thread.
- NotificationService* notification_service_;
+ scoped_ptr<NotificationService> notification_service_;
DISALLOW_COPY_AND_ASSIGN(BrowserProcessSubThread);
};
« no previous file with comments | « no previous file | content/browser/browser_process_sub_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698