| Index: chrome/browser/ui/webui/profiler_ui.cc
|
| diff --git a/chrome/browser/ui/webui/profiler_ui.cc b/chrome/browser/ui/webui/profiler_ui.cc
|
| index a16c05f1e08aa201d5978c023dc86a058a555592..9b9cd1e37e9600bc7ca82db2ab98f36183b5681f 100644
|
| --- a/chrome/browser/ui/webui/profiler_ui.cc
|
| +++ b/chrome/browser/ui/webui/profiler_ui.cc
|
| @@ -163,17 +163,14 @@ void ProfilerUI::GetData() {
|
| }
|
|
|
| void ProfilerUI::ReceivedProfilerData(
|
| + const metrics::ProfilerDataAttributes& attributes,
|
| const tracked_objects::ProcessDataPhaseSnapshot& process_data_phase,
|
| - base::ProcessId process_id,
|
| - content::ProcessType process_type,
|
| - int profiling_phase,
|
| - base::TimeDelta phase_start,
|
| - base::TimeDelta phase_finish,
|
| const metrics::ProfilerEvents& past_events) {
|
| // Serialize the data to JSON.
|
| base::DictionaryValue json_data;
|
| task_profiler::TaskProfilerDataSerializer::ToValue(
|
| - process_data_phase, process_id, process_type, &json_data);
|
| + process_data_phase, attributes.process_id, attributes.process_type,
|
| + &json_data);
|
|
|
| // Send the data to the renderer.
|
| web_ui()->CallJavascriptFunction("g_browserBridge.receivedData", json_data);
|
|
|