| Index: third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| index e535581587b9244229274af30104a06f603a2453..dba715b571557b05fae8c49020bc9ccaeb468ff9 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| @@ -71,6 +71,7 @@ WebInspector.UISourceCode.Events = {
|
| SourceMappingChanged: "SourceMappingChanged",
|
| MessageAdded: "MessageAdded",
|
| MessageRemoved: "MessageRemoved",
|
| + ProfileInfoUpdated: "ProfileInfoUpdated"
|
| }
|
|
|
| WebInspector.UISourceCode.prototype = {
|
| @@ -644,6 +645,23 @@ WebInspector.UISourceCode.prototype = {
|
| this.dispatchEventToListeners(WebInspector.UISourceCode.Events.MessageRemoved, message);
|
| },
|
|
|
| + /**
|
| + * @param {?Map<number, number>} profileInfo
|
| + */
|
| + setProfileInfo: function(profileInfo)
|
| + {
|
| + this._profileInfo = profileInfo;
|
| + this.dispatchEventToListeners(WebInspector.UISourceCode.Events.ProfileInfoUpdated);
|
| + },
|
| +
|
| + /**
|
| + * @return {!Map<number, number>}
|
| + */
|
| + profileInfo: function()
|
| + {
|
| + return this._profileInfo;
|
| + },
|
| +
|
| __proto__: WebInspector.Object.prototype
|
| }
|
|
|
| @@ -837,7 +855,8 @@ WebInspector.UISourceCode.Message.prototype = {
|
| /**
|
| * @return {!WebInspector.TextRange}
|
| */
|
| - range: function() {
|
| + range: function()
|
| + {
|
| return this._range;
|
| },
|
|
|
|
|