Index: third_party/WebKit/Source/devtools/front_end/profiler/ProfileDataGrid.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileDataGrid.js b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileDataGrid.js |
index c244cf00e0aa6ab4d973adfe5b2be4066a0d8469..0ad215db5d3d430599e4778fbab8c0df75ae3736 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/profiler/ProfileDataGrid.js |
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/ProfileDataGrid.js |
@@ -80,6 +80,8 @@ WebInspector.ProfileDataGridNode.prototype = { |
if (this.profileNode.scriptId === "0") |
break; |
var urlElement = this.tree._formatter.linkifyNode(this); |
+ if (!urlElement) |
+ break; |
urlElement.style.maxWidth = "75%"; |
cell.appendChild(urlElement); |
break; |
@@ -648,7 +650,7 @@ WebInspector.ProfileDataGridNode.Formatter.prototype = { |
/** |
* @param {!WebInspector.ProfileDataGridNode} node |
- * @return {!Element} |
+ * @return {?Element} |
*/ |
linkifyNode: function(node) { } |
} |