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

Unified Diff: LayoutTests/http/tests/inspector/resource-tree/resource-tree-test.js

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 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/resource-tree/resource-tree-test.js
diff --git a/LayoutTests/http/tests/inspector/resource-tree/resource-tree-test.js b/LayoutTests/http/tests/inspector/resource-tree/resource-tree-test.js
index 8db06fb9f2e06d721503482f184a33f48bb6cd8f..93767a224ceff679f1971044d3aa9ffac1d52e16 100644
--- a/LayoutTests/http/tests/inspector/resource-tree/resource-tree-test.js
+++ b/LayoutTests/http/tests/inspector/resource-tree/resource-tree-test.js
@@ -12,7 +12,7 @@ InspectorTest.dumpResources = function(formatter)
results.push({ resource: resource, text: resource.url });
}
- WebInspector.resourceTreeModel.forAllResources(formatterWrapper);
+ InspectorTest.resourceTreeModel.forAllResources(formatterWrapper);
function comparator(result1, result2)
{
@@ -27,10 +27,10 @@ InspectorTest.dumpResources = function(formatter)
InspectorTest.dumpResourcesURLMap = function()
{
var results = [];
- WebInspector.resourceTreeModel.forAllResources(collect);
+ InspectorTest.resourceTreeModel.forAllResources(collect);
function collect(resource)
{
- results.push({ url: resource.url, resource: WebInspector.resourceTreeModel.resourceForURL(resource.url) });
+ results.push({ url: resource.url, resource: InspectorTest.resourceTreeModel.resourceForURL(resource.url) });
}
function comparator(result1, result2)

Powered by Google App Engine
This is Rietveld 408576698