Index: third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js |
index baba1f2760640f74562a85505056a301a2bdfa71..49fd944bd9ee92fbba5d2fcd7a2945e15898670d 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/elements-test.js |
@@ -402,7 +402,8 @@ function extractLinkText(element) |
if (!anchor) |
return element.textContent; |
var anchorText = anchor.textContent; |
- var uiLocation = anchor[Components.Linkifier._uiLocationSymbol]; |
+ var info = Components.Linkifier._linkInfo(anchor); |
+ var uiLocation = info && info.uiLocation; |
var anchorTarget = uiLocation ? (uiLocation.uiSourceCode.name() + ":" + (uiLocation.lineNumber + 1) + ":" + (uiLocation.columnNumber + 1)) : ""; |
return anchorText + " -> " + anchorTarget; |
} |