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

Unified Diff: Source/devtools/front_end/Target.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/StylesSidebarPane.js ('k') | Source/devtools/front_end/TimelineUIUtils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/Target.js
diff --git a/Source/devtools/front_end/Target.js b/Source/devtools/front_end/Target.js
index 701c6435bc4cc544d1e230437509517d6f425c3b..2ed9f5be5608ef4dc3b408a5e522e0a9a4387154 100644
--- a/Source/devtools/front_end/Target.js
+++ b/Source/devtools/front_end/Target.js
@@ -57,10 +57,9 @@ WebInspector.Target.prototype = {
if (!WebInspector.runtimeModel)
WebInspector.runtimeModel = this.runtimeModel;
- //we can't name it domAgent, because it clashes with function, WebInspector.DOMAgent should be renamed to DOMModel
- this.domModel = new WebInspector.DOMAgent();
- if (!WebInspector.domAgent)
- WebInspector.domAgent = this.domModel;
+ this.domModel = new WebInspector.DOMModel();
+ if (!WebInspector.domModel)
+ WebInspector.domModel = this.domModel;
this.workerManager = new WebInspector.WorkerManager(this, this.isMainFrontend);
if (!WebInspector.workerManager)
« no previous file with comments | « Source/devtools/front_end/StylesSidebarPane.js ('k') | Source/devtools/front_end/TimelineUIUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698