Index: LayoutTests/inspector/jump-to-previous-editing-location.html |
diff --git a/LayoutTests/inspector/jump-to-previous-editing-location.html b/LayoutTests/inspector/jump-to-previous-editing-location.html |
index 2fbd279c225f72c92d7d5154826816c664770ee1..b27e0e3f06506a3bbf93d6d2859a7bb0af66d52b 100644 |
--- a/LayoutTests/inspector/jump-to-previous-editing-location.html |
+++ b/LayoutTests/inspector/jump-to-previous-editing-location.html |
@@ -223,7 +223,7 @@ function test() |
var linkifier = new WebInspector.Linkifier(); |
WebInspector.inspectorView.showPanel("timeline"); |
var anchorURI = uiSourceCode.url; |
- var anchor = linkifier.linkifyLocation(WebInspector.targetManager.activeTarget(), anchorURI, 10, 1); |
+ var anchor = linkifier.linkifyLocation(WebInspector.targetManager.mainTarget(), anchorURI, 10, 1); |
WebInspector.Revealer.reveal(anchor.__uiLocation); |
InspectorTest.addResult("Selection: " + panel.visibleView.textEditor.selection().toString()); |
dumpSelection(panel.visibleView.textEditor, "Showed anchor in " + anchorURI.split("/").pop() + " with line 333 column 3"); |