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 ab74c7e4a4861e3c6e2d2048c50adb340c51bd0d..a1762546a0166c0be897462d15813305eddd2a23 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js |
@@ -447,7 +447,8 @@ WebInspector.CallStackSidebarPane.CallFrame = function(functionName, location, l |
this._asyncCallFrame = asyncCallFrame; |
if (asyncCallFrame) { |
- var locationElement = linkifier.linkifyRawLocation(location, location.script().sourceURL); |
+ var script = location.script(); |
+ var locationElement = linkifier.linkifyRawLocation(location, script ? script.sourceURL : ""); |
this.subtitleElement.appendChild(locationElement); |
} else { |
this._liveLocationPool = new WebInspector.LiveLocationPool(); |