Chromium Code Reviews| Index: content/renderer/categorized_worker_pool.h |
| diff --git a/content/renderer/categorized_worker_pool.h b/content/renderer/categorized_worker_pool.h |
| index cd3be4672b1be110014ca39574f7122862c940de..66e92a6a8b5abc89d6791a6d1fc051a821afd64a 100644 |
| --- a/content/renderer/categorized_worker_pool.h |
| +++ b/content/renderer/categorized_worker_pool.h |
| @@ -69,9 +69,7 @@ class CONTENT_EXPORT CategorizedWorkerPool : public base::TaskRunner, |
| // Create a new sequenced task graph runner. |
| scoped_refptr<base::SequencedTaskRunner> CreateSequencedTaskRunner(); |
| - base::PlatformThreadId background_worker_thread_id() const { |
| - return threads_.back()->tid(); |
| - } |
| + base::PlatformThreadId GetBackgroundWorkerThreadId() const; |
|
gab
2017/02/06 20:29:11
Comment that this may block until the background w
fdoray
2017/02/06 20:46:48
Done.
|
| protected: |
| ~CategorizedWorkerPool() override; |