| Index: third_party/WebKit/Source/devtools/front_end/timeline/TimelineJSProfile.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineJSProfile.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineJSProfile.js
|
| index ea1e23a3123759c3492dfe581a30c41828784ed1..d9e825be2851e2ab068367cf2bb7d5eb4b7774dc 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineJSProfile.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineJSProfile.js
|
| @@ -6,15 +6,12 @@
|
| WebInspector.TimelineJSProfileProcessor = { };
|
|
|
| /**
|
| - * @param {!ProfilerAgent.CPUProfile} jsProfile
|
| + * @param {!WebInspector.CPUProfileDataModel} jsProfileModel
|
| * @param {!WebInspector.TracingModel.Thread} thread
|
| * @return {!Array<!WebInspector.TracingModel.Event>}
|
| */
|
| -WebInspector.TimelineJSProfileProcessor.generateTracingEventsFromCpuProfile = function(jsProfile, thread)
|
| +WebInspector.TimelineJSProfileProcessor.generateTracingEventsFromCpuProfile = function(jsProfileModel, thread)
|
| {
|
| - if (!jsProfile.samples)
|
| - return [];
|
| - var jsProfileModel = new WebInspector.CPUProfileDataModel(jsProfile);
|
| var idleNode = jsProfileModel.idleNode;
|
| var programNode = jsProfileModel.programNode;
|
| var gcNode = jsProfileModel.gcNode;
|
|
|