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

Unified Diff: base/task_scheduler/task_scheduler_impl.h

Issue 2124623002: Make the constructor of TaskSchedulerImpl explicit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/task_scheduler_impl.h
diff --git a/base/task_scheduler/task_scheduler_impl.h b/base/task_scheduler/task_scheduler_impl.h
index 02cbe3c6c51b29a0b08f89a9aa3f450ac0a128dc..ac827f7de53b0c1655f76b7944e885947a0ce62c 100644
--- a/base/task_scheduler/task_scheduler_impl.h
+++ b/base/task_scheduler/task_scheduler_impl.h
@@ -82,8 +82,8 @@ class BASE_EXPORT TaskSchedulerImpl : public TaskScheduler {
void JoinForTesting();
private:
- TaskSchedulerImpl(const WorkerPoolIndexForTraitsCallback&
- worker_pool_index_for_traits_callback);
+ explicit TaskSchedulerImpl(const WorkerPoolIndexForTraitsCallback&
+ worker_pool_index_for_traits_callback);
void Initialize(const std::vector<WorkerPoolCreationArgs>& worker_pools);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698