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

Unified Diff: LayoutTests/http/tests/inspector/layers-test.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
Index: LayoutTests/http/tests/inspector/layers-test.js
diff --git a/LayoutTests/http/tests/inspector/layers-test.js b/LayoutTests/http/tests/inspector/layers-test.js
index c0382dd25730d48a67f615605b0d7555ae0c7c72..5e0552662eca665b4f50da2fce9598d70c013f1e 100644
--- a/LayoutTests/http/tests/inspector/layers-test.js
+++ b/LayoutTests/http/tests/inspector/layers-test.js
@@ -10,7 +10,7 @@ function initialize_LayerTreeTests()
InspectorTest.labelForLayer = function(layer)
{
- var node = WebInspector.domAgent.nodeForId(layer.nodeIdForSelfOrAncestor());
+ var node = WebInspector.domModel.nodeForId(layer.nodeIdForSelfOrAncestor());
var label = node ? WebInspector.DOMPresentationUtils.fullQualifiedSelector(node, false) : "<invalid node id>";
var height = layer.height();
var width = layer.width();
@@ -79,7 +79,7 @@ function initialize_LayerTreeTests()
{
if (!layer.nodeId())
return false;
- var node = WebInspector.domAgent.nodeForId(layer.nodeId());
+ var node = WebInspector.domModel.nodeForId(layer.nodeId());
if (!node || node.getAttribute("id") !== nodeIdAttribute)
return false;
result = layer;
« no previous file with comments | « LayoutTests/http/tests/inspector/elements-test.js ('k') | LayoutTests/http/tests/inspector/modify-cross-domain-rule.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698