Index: third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js b/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js |
index 6a5813dbb14a78d19e5298150134fd8f5bdbd3f7..29a6b68ce1af6d0268aecb36ee57205cc79be2a6 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js |
+++ b/third_party/WebKit/Source/devtools/front_end/components/ObjectPropertiesSection.js |
@@ -1066,10 +1066,12 @@ WebInspector.ObjectPropertiesSection.createValueElement = function(value, wasThr |
if (type === "object" && subtype === "internal#location") { |
var rawLocation = value.debuggerModel().createRawLocationByScriptId(value.value.scriptId, value.value.lineNumber, value.value.columnNumber); |
- if (rawLocation && linkifier) |
- return linkifier.linkifyRawLocation(rawLocation, ""); |
- else |
- valueElement.textContent = "<unknown>"; |
+ if (rawLocation && linkifier) { |
+ var anchor = linkifier.linkifyRawLocation(rawLocation, ""); |
+ if (anchor) |
+ return anchor; |
+ } |
+ valueElement.textContent = "<unknown>"; |
} |
function mouseMove() |