Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1091)

Unified Diff: Source/devtools/front_end/devices/DevicesView.js

Issue 485713002: DevTools: Use targetManager.inspectedPageUrl() instead of resourceTreeModel.inspectedPageUrl() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addrss comments Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
}
}
« no previous file with comments | « Source/devtools/front_end/components/DOMBreakpointsSidebarPane.js ('k') | Source/devtools/front_end/main/Main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698