| Index: third_party/WebKit/Source/devtools/front_end/sdk/CPUProfileDataModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/CPUProfileDataModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/CPUProfileDataModel.js
|
| index cbafaa150e913a73afb0c735202d5e5d1d5b7b7d..a4b1350c057abceb65823b281ddd36f2ae5b6822 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/CPUProfileDataModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/CPUProfileDataModel.js
|
| @@ -37,6 +37,7 @@ WebInspector.CPUProfileNode.prototype = {
|
| */
|
| WebInspector.CPUProfileDataModel = function(profile)
|
| {
|
| + WebInspector.ProfileTreeModel.call(this);
|
| var isLegacyFormat = !!profile["head"];
|
| if (isLegacyFormat) {
|
| // Legacy format contains raw timestamps and start/stop times are in seconds.
|
| @@ -53,7 +54,7 @@ WebInspector.CPUProfileDataModel = function(profile)
|
| this.samples = profile.samples;
|
| this.totalHitCount = 0;
|
| this.profileHead = this._translateProfileTree(profile.nodes);
|
| - WebInspector.ProfileTreeModel.call(this, this.profileHead);
|
| + this.initialize(this.profileHead);
|
| this._extractMetaNodes();
|
| if (this.samples) {
|
| this._buildIdToNodeMap();
|
|
|