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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-data.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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-deletion.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-data.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-data.html b/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-data.html
index 428b457ac8869812292d2e6d262499e3892d2245..e0fa9b57a3046f5be74ce377f48b4ac196375b24 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-data.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-data.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)
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/cache-storage/cache-deletion.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698