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

Unified Diff: content/browser/browser_thread_impl.cc

Issue 9347056: Fix up SequencedWorkerPool in preparation for making it a TaskRunner (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address dom_storage comments Created 8 years, 10 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
Index: content/browser/browser_thread_impl.cc
diff --git a/content/browser/browser_thread_impl.cc b/content/browser/browser_thread_impl.cc
index f0aab01f562a5739f13fd9d5f02b04897ce83980..44ea54ea0e94211ecf4f9cc94a3ba440d25a0198 100644
--- a/content/browser/browser_thread_impl.cc
+++ b/content/browser/browser_thread_impl.cc
@@ -52,9 +52,7 @@ struct BrowserThreadGlobals {
// by this array, rather by whoever calls BrowserThread::SetDelegate.
BrowserThreadDelegate* thread_delegates[BrowserThread::ID_COUNT];
- // This pointer is deliberately leaked on shutdown. This allows the pool to
- // implement "continue on shutdown" semantics.
- base::SequencedWorkerPool* blocking_pool;
+ const scoped_refptr<base::SequencedWorkerPool> blocking_pool;
};
base::LazyInstance<BrowserThreadGlobals>::Leaky

Powered by Google App Engine
This is Rietveld 408576698