summaryrefslogtreecommitdiffstats
path: root/base/threading
diff options
context:
space:
mode:
authorvadimt <vadimt@chromium.org>2015-05-01 12:13:01 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-01 19:14:44 +0000
commitcf8983ef6ccb5101181b2f854023b2124dd31882 (patch)
treec83ac32a7a53c8edbadd48116e38c26af983b610 /base/threading
parentf1d3676b48e5a31a5db59729e7e6214f790424d9 (diff)
downloadchromium_src-cf8983ef6ccb5101181b2f854023b2124dd31882.zip
chromium_src-cf8983ef6ccb5101181b2f854023b2124dd31882.tar.gz
chromium_src-cf8983ef6ccb5101181b2f854023b2124dd31882.tar.bz2
Cleanup: removing unused descendants information from tracked objects.
BUG=456354 Review URL: https://codereview.chromium.org/1104053004 Cr-Commit-Position: refs/heads/master@{#327956}
Diffstat (limited to 'base/threading')
-rw-r--r--base/threading/sequenced_worker_pool.cc1
-rw-r--r--base/threading/worker_pool_posix.cc1
-rw-r--r--base/threading/worker_pool_win.cc2
3 files changed, 0 insertions, 4 deletions
diff --git a/base/threading/sequenced_worker_pool.cc b/base/threading/sequenced_worker_pool.cc
index 6f4a248..faf7f53 100644
--- a/base/threading/sequenced_worker_pool.cc
+++ b/base/threading/sequenced_worker_pool.cc
@@ -777,7 +777,6 @@ void SequencedWorkerPool::Inner::ThreadLoop(Worker* this_worker) {
this_worker->set_running_task_info(
SequenceToken(task.sequence_token_id), task.shutdown_behavior);
- tracked_objects::ThreadData::PrepareForStartOfRun(task.birth_tally);
tracked_objects::TaskStopwatch stopwatch;
stopwatch.Start();
task.task.Run();
diff --git a/base/threading/worker_pool_posix.cc b/base/threading/worker_pool_posix.cc
index 32a5e92..8c55a2c 100644
--- a/base/threading/worker_pool_posix.cc
+++ b/base/threading/worker_pool_posix.cc
@@ -87,7 +87,6 @@ void WorkerThread::ThreadMain() {
"src_file", pending_task.posted_from.file_name(),
"src_func", pending_task.posted_from.function_name());
- tracked_objects::ThreadData::PrepareForStartOfRun(pending_task.birth_tally);
tracked_objects::TaskStopwatch stopwatch;
stopwatch.Start();
pending_task.task.Run();
diff --git a/base/threading/worker_pool_win.cc b/base/threading/worker_pool_win.cc
index 5469439..1b0ade5 100644
--- a/base/threading/worker_pool_win.cc
+++ b/base/threading/worker_pool_win.cc
@@ -25,8 +25,6 @@ DWORD CALLBACK WorkItemCallback(void* param) {
"src_file", pending_task->posted_from.file_name(),
"src_func", pending_task->posted_from.function_name());
- tracked_objects::ThreadData::PrepareForStartOfRun(pending_task->birth_tally);
-
g_worker_pool_running_on_this_thread.Get().Set(true);
tracked_objects::TaskStopwatch stopwatch;