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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-deletion.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-deletion.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-deletion.html b/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-deletion.html
index 54fc1a22739e29d7c960196c31d77be675f370e9..3115c50700c1889e021a82d3763bab9abaabd139 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-deletion.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-deletion.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