diff options
Diffstat (limited to 'chromium/content/browser/browser_thread_impl.h')
-rw-r--r-- | chromium/content/browser/browser_thread_impl.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/chromium/content/browser/browser_thread_impl.h b/chromium/content/browser/browser_thread_impl.h index 5789a29e1c5..a09d5832607 100644 --- a/chromium/content/browser/browser_thread_impl.h +++ b/chromium/content/browser/browser_thread_impl.h @@ -39,12 +39,9 @@ class CONTENT_EXPORT BrowserThreadImpl : public BrowserThread { // |identifier|. static void ResetGlobalsForTesting(BrowserThread::ID identifier); - // Creates and registers a TaskExecutor that facilitates posting tasks to a - // BrowserThread via //base/task/post_task.h. - static void CreateTaskExecutor(); - - // Unregister and delete the TaskExecutor after a test. - static void ResetTaskExecutorForTesting(); + // Exposed for BrowserTaskExecutor. Other code should use + // base::CreateSingleThreadTaskRunnerWithTraits({BrowserThread::UI/IO}). + using BrowserThread::GetTaskRunnerForThread; private: // Restrict instantiation to BrowserProcessSubThread as it performs important |