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

Unified Diff: base/debug/task_annotator.cc

Issue 2956683002: chrome://profiler infrastructure uses base time types. (Closed)
Patch Set: Address nit. Created 3 years, 6 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 | « base/BUILD.gn ('k') | base/profiler/scoped_profile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/task_annotator.cc
diff --git a/base/debug/task_annotator.cc b/base/debug/task_annotator.cc
index 46969f28ca8cb705ed2d7440bbb21a026148a0b8..10c563614508f6f1fe6b975468e8ec464c7e0f3b 100644
--- a/base/debug/task_annotator.cc
+++ b/base/debug/task_annotator.cc
@@ -35,7 +35,7 @@ void TaskAnnotator::RunTask(const char* queue_function,
tracked_objects::TaskStopwatch stopwatch;
stopwatch.Start();
- tracked_objects::Duration queue_duration =
+ base::TimeDelta queue_duration =
stopwatch.StartTime() - pending_task->EffectiveTimePosted();
TRACE_EVENT_WITH_FLOW1(
« no previous file with comments | « base/BUILD.gn ('k') | base/profiler/scoped_profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698