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

Unified Diff: components/timers/alarm_timer_chromeos.cc

Issue 1784133002: [tracing] Adding task information to heap profiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix macros again and the builds. Created 4 years, 9 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
Index: components/timers/alarm_timer_chromeos.cc
diff --git a/components/timers/alarm_timer_chromeos.cc b/components/timers/alarm_timer_chromeos.cc
index 0cb25fafd876312d40cb27fb572e0b7037ddc747..d0ba76933f950a50a0bbfb13d0e97ab5e108999e 100644
--- a/components/timers/alarm_timer_chromeos.cc
+++ b/components/timers/alarm_timer_chromeos.cc
@@ -434,7 +434,7 @@ void AlarmTimer::OnTimerFired() {
else
Stop();
- TRACE_TASK_EXECUTION("AlarmTimer::OnTimerFired", *pending_user_task);
+ TRACE_TASK_EXECUTION("AlarmTimer::OnTimerFired", (*pending_user_task));
Primiano Tucci (use gerrit) 2016/03/31 15:37:16 why do we need parentheses here? smells like we ne
Nico 2016/03/31 16:12:48 yup, +1
ssid 2016/04/01 04:34:54 yes, I was thinking it is better to add here inste
// Now run the user task.
base::MessageLoop::current()->task_annotator()->RunTask("AlarmTimer::Reset",

Powered by Google App Engine
This is Rietveld 408576698