Index: third_party/WebKit/LayoutTests/http/tests/inspector/resources-test.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/resources-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/resources-test.js |
index 16359f45c9594a77e76da88ab20940ce520855be..43e4d966fcb12d7d604785d832525b65ae399b13 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/resources-test.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/resources-test.js |
@@ -79,17 +79,17 @@ InspectorTest.resourceMatchingURL = function(resourceURL) |
InspectorTest.databaseModel = function() |
{ |
- return Resources.DatabaseModel.fromTarget(InspectorTest.mainTarget); |
+ return InspectorTest.mainTarget.model(Resources.DatabaseModel); |
} |
InspectorTest.domStorageModel = function() |
{ |
- return Resources.DOMStorageModel.fromTarget(InspectorTest.mainTarget); |
+ return InspectorTest.mainTarget.model(Resources.DOMStorageModel); |
} |
InspectorTest.indexedDBModel = function() |
{ |
- return Resources.IndexedDBModel.fromTarget(InspectorTest.mainTarget); |
+ return InspectorTest.mainTarget.model(Resources.IndexedDBModel); |
} |
} |