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

Unified Diff: content/browser/profiler_message_filter.cc

Issue 9181002: Track parent-child relations during profiling (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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: content/browser/profiler_message_filter.cc
===================================================================
--- content/browser/profiler_message_filter.cc (revision 119459)
+++ content/browser/profiler_message_filter.cc (working copy)
@@ -21,8 +21,9 @@
void ProfilerMessageFilter::OnChannelConnected(int32 peer_pid) {
BrowserMessageFilter::OnChannelConnected(peer_pid);
- bool enable = tracked_objects::ThreadData::tracking_status();
- Send(new ChildProcessMsg_SetProfilerStatus(enable));
+ tracked_objects::ThreadData::Status status =
+ tracked_objects::ThreadData::status();
+ Send(new ChildProcessMsg_SetProfilerStatus(status));
}
bool ProfilerMessageFilter::OnMessageReceived(const IPC::Message& message,

Powered by Google App Engine
This is Rietveld 408576698