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

Unified Diff: Source/devtools/front_end/Main.js

Issue 206313004: DevTools: Rename WebInspector.DOMAgent into WebInspector.DOMModel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on master Created 6 years, 9 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
« no previous file with comments | « Source/devtools/front_end/LayersPanel.js ('k') | Source/devtools/front_end/MetricsSidebarPane.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/Main.js
diff --git a/Source/devtools/front_end/Main.js b/Source/devtools/front_end/Main.js
index 754489f7c3fb44e364434475827945a912714b3c..194f9ab7440c80952a19bbf11bce14e8e1f661b9 100644
--- a/Source/devtools/front_end/Main.js
+++ b/Source/devtools/front_end/Main.js
@@ -617,7 +617,7 @@ WebInspector.Main.prototype = {
_updateFocusedNode: function(nodeId)
{
- var node = WebInspector.domAgent.nodeForId(nodeId);
+ var node = WebInspector.domModel.nodeForId(nodeId);
console.assert(node);
WebInspector.Revealer.reveal(node);
},
@@ -650,7 +650,7 @@ WebInspector.Main.prototype = {
function callback(nodeId)
{
elementsPanel.stopOmittingDefaultSelection();
- WebInspector.Revealer.reveal(WebInspector.domAgent.nodeForId(nodeId));
+ WebInspector.Revealer.reveal(WebInspector.domModel.nodeForId(nodeId));
if (!WebInspector.inspectorView.drawerVisible() && !WebInspector._notFirstInspectElement)
InspectorFrontendHost.inspectElementCompleted();
WebInspector._notFirstInspectElement = true;
« no previous file with comments | « Source/devtools/front_end/LayersPanel.js ('k') | Source/devtools/front_end/MetricsSidebarPane.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698