Chromium Code Reviews| Index: base/debug/task_annotator.cc |
| diff --git a/base/debug/task_annotator.cc b/base/debug/task_annotator.cc |
| index e47a0439e37225f3109e18d472f44cce4c847097..6ae6ad08f3b3fad737c73adf694b6e30a803913c 100644 |
| --- a/base/debug/task_annotator.cc |
| +++ b/base/debug/task_annotator.cc |
| @@ -45,7 +45,8 @@ void TaskAnnotator::RunTask(const char* queue_function, |
| // crashes. Be careful not to assume that the variable itself will have the |
| // expected value when displayed by the optimizer in an optimized build. |
| // Look at a memory dump of the stack. |
| - const void* program_counter = pending_task.posted_from.program_counter(); |
| + const void* const program_counter = |
|
brettw
2015/09/25 04:51:25
This one seems unnecessary. I usually prefer not t
Lei Zhang
2015/09/25 05:35:39
Reverted
|
| + pending_task.posted_from.program_counter(); |
| debug::Alias(&program_counter); |
| pending_task.task.Run(); |