| Index: third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js b/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js
|
| index f1774126b7de0b574f5343ea7e5abd233159eb7d..26eaf4331c8df29c1ff437f607f09e8500416d65 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js
|
| @@ -308,7 +308,7 @@ WebInspector.HeapProfileView.NodeFormatter.prototype = {
|
| /**
|
| * @override
|
| * @param {!WebInspector.ProfileDataGridNode} node
|
| - * @return {!Element}
|
| + * @return {?Element}
|
| */
|
| linkifyNode: function(node)
|
| {
|
| @@ -432,9 +432,10 @@ WebInspector.HeapFlameChartDataProvider.prototype = {
|
| pushEntryInfoRow(WebInspector.UIString("Self size"), Number.bytesToString(node.self));
|
| pushEntryInfoRow(WebInspector.UIString("Total size"), Number.bytesToString(node.total));
|
| var linkifier = new WebInspector.Linkifier();
|
| - var text = (new WebInspector.Linkifier()).linkifyConsoleCallFrame(this._target, node.callFrame).textContent;
|
| + var link = linkifier.linkifyConsoleCallFrame(this._target, node.callFrame);
|
| + if (link)
|
| + pushEntryInfoRow(WebInspector.UIString("URL"), link.textContent);
|
| linkifier.dispose();
|
| - pushEntryInfoRow(WebInspector.UIString("URL"), text);
|
| return entryInfo;
|
| },
|
|
|
|
|