Index: third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js |
index a874d5a1f3dd0688fb35aaa46a33f9a11b46268a..5d6ff334fd8f76533c50ec9fc928a766263730bc 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js |
@@ -451,7 +451,8 @@ WebInspector.CallStackSidebarPane.CallFrame = function(functionName, location, l |
if (asyncCallFrame) { |
var locationElement = linkifier.linkifyRawLocation(location, location.script().sourceURL); |
- this.subtitleElement.appendChild(locationElement); |
+ if (locationElement) |
+ this.subtitleElement.appendChild(locationElement); |
} else { |
this._liveLocationPool = new WebInspector.LiveLocationPool(); |
WebInspector.debuggerWorkspaceBinding.createCallFrameLiveLocation(location, this._update.bind(this), locationPool); |