Index: Source/devtools/front_end/devices/DevicesView.js |
diff --git a/Source/devtools/front_end/devices/DevicesView.js b/Source/devtools/front_end/devices/DevicesView.js |
index cdbec2f4adcbe1d0d268e85723d030f70f33ff66..6e731a3f22d41ae4f4fa630b818622cf5d33ddb4 100644 |
--- a/Source/devtools/front_end/devices/DevicesView.js |
+++ b/Source/devtools/front_end/devices/DevicesView.js |
@@ -165,7 +165,7 @@ WebInspector.DevicesView.prototype = { |
var newPageButton = browserSection.createChild("button", "text-button"); |
newPageButton.textContent = WebInspector.UIString("Try here"); |
newPageButton.title = WebInspector.UIString("Inspect current page in this browser."); |
- newPageButton.addEventListener("click", InspectorFrontendHost.openUrlOnRemoteDeviceAndInspect.bind(null, browser.id, WebInspector.resourceTreeModel.inspectedPageURL()), true); |
+ newPageButton.addEventListener("click", InspectorFrontendHost.openUrlOnRemoteDeviceAndInspect.bind(null, browser.id, WebInspector.targetManager.inspectedPageURL()), true); |
} |
} |