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

Unified Diff: content/child/child_thread_impl.cc

Issue 985773002: Introducing phased profiling framework (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@write_to_file
Patch Set: Only "API" Created 5 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: content/child/child_thread_impl.cc
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
index cccefe597917512c7a51c35b821ba4add9ed0911..34b67640a747b66ef962dcb7d354ae154ad3f34d 100644
--- a/content/child/child_thread_impl.cc
+++ b/content/child/child_thread_impl.cc
@@ -639,11 +639,11 @@ void ChildThreadImpl::OnSetProfilerStatus(ThreadData::Status status) {
}
void ChildThreadImpl::OnGetChildProfilerData(int sequence_number) {
- tracked_objects::ProcessDataSnapshot process_data;
- ThreadData::Snapshot(&process_data);
+ tracked_objects::ProcessDataSnapshot process_data_snapshot;
+ ThreadData::GetProcessDataSnapshot(&process_data_snapshot);
Send(new ChildProcessHostMsg_ChildProfilerData(sequence_number,
- process_data));
+ process_data_snapshot));
Ilya Sherman 2015/03/10 00:48:11 Optional nit: IMO none of the renames here help wi
vadimt 2015/03/13 23:18:02 Agreed. Must be a result of massive renames throug
}
void ChildThreadImpl::OnDumpHandles() {

Powered by Google App Engine
This is Rietveld 408576698