| Index: third_party/WebKit/Source/devtools/front_end/sdk/ProfileTreeModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/ProfileTreeModel.js b/third_party/WebKit/Source/devtools/front_end/sdk/ProfileTreeModel.js
|
| index 90b6e26eb3094f165579c19764584e056d03a8a4..1c64431040465d1cb7b758b94e44d7d82bb82327 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sdk/ProfileTreeModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sdk/ProfileTreeModel.js
|
| @@ -4,17 +4,12 @@
|
|
|
| /**
|
| * @constructor
|
| + * @param {!RuntimeAgent.CallFrame} callFrame
|
| */
|
| -WebInspector.ProfileNode = function(functionName, scriptId, url, lineNumber, columnNumber)
|
| +WebInspector.ProfileNode = function(callFrame)
|
| {
|
| /** @type {!RuntimeAgent.CallFrame} */
|
| - this.frame = {
|
| - functionName: functionName,
|
| - scriptId: scriptId,
|
| - url: url,
|
| - lineNumber: lineNumber,
|
| - columnNumber: columnNumber
|
| - };
|
| + this.callFrame = callFrame;
|
| /** @type {number|string} */
|
| this.callUID;
|
| /** @type {number} */
|
| @@ -35,7 +30,7 @@ WebInspector.ProfileNode.prototype = {
|
| */
|
| get functionName()
|
| {
|
| - return this.frame.functionName;
|
| + return this.callFrame.functionName;
|
| },
|
|
|
| /**
|
| @@ -43,7 +38,7 @@ WebInspector.ProfileNode.prototype = {
|
| */
|
| get scriptId()
|
| {
|
| - return this.frame.scriptId;
|
| + return this.callFrame.scriptId;
|
| },
|
|
|
| /**
|
| @@ -51,7 +46,7 @@ WebInspector.ProfileNode.prototype = {
|
| */
|
| get url()
|
| {
|
| - return this.frame.url;
|
| + return this.callFrame.url;
|
| },
|
|
|
| /**
|
| @@ -59,7 +54,7 @@ WebInspector.ProfileNode.prototype = {
|
| */
|
| get lineNumber()
|
| {
|
| - return this.frame.lineNumber;
|
| + return this.callFrame.lineNumber;
|
| },
|
|
|
| /**
|
| @@ -67,7 +62,7 @@ WebInspector.ProfileNode.prototype = {
|
| */
|
| get columnNumber()
|
| {
|
| - return this.frame.columnNumber;
|
| + return this.callFrame.columnNumber;
|
| }
|
| }
|
|
|
|
|