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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-names.html

Issue 2782773002: [DevTools] Remove SDKModels' fromTarget methods (Closed)
Patch Set: addressed review comments Created 3 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: 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)

Powered by Google App Engine
This is Rietveld 408576698