Index: third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-names.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-names.html b/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-names.html |
index 8b960a04bcbe0da4d54c384c4f2cc994159b4ee9..b8182c746a721728bf3167e374a8871c3dd6613e 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-names.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-names.html |
@@ -5,7 +5,7 @@ |
<script> |
function test() |
{ |
- var cacheStorageModel = SDK.ServiceWorkerCacheModel.fromTarget(SDK.targetManager.mainTarget()); |
+ var cacheStorageModel = InspectorTest.mainTarget.model(SDK.ServiceWorkerCacheModel); |
cacheStorageModel.enable(); |
function errorAndExit(error) |