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

Unified Diff: LayoutTests/http/tests/inspector/resources-test.js

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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: LayoutTests/http/tests/inspector/resources-test.js
diff --git a/LayoutTests/http/tests/inspector/resources-test.js b/LayoutTests/http/tests/inspector/resources-test.js
index f4756569182d2587e4c52ed4fa841e4b70bc5fea..c22e302096ff6c3adcb18a6642e41b32b6c5304f 100644
--- a/LayoutTests/http/tests/inspector/resources-test.js
+++ b/LayoutTests/http/tests/inspector/resources-test.js
@@ -74,8 +74,8 @@ InspectorTest.showResource = function(resourceURL, callback)
var resource = InspectorTest.resourceMatchingURL(resourceURL);
if (!resource)
return;
- WebInspector.panels.resources.showResource(resource, 1);
- var sourceFrame = WebInspector.panels.resources._resourceViewForResource(resource);
+ WebInspector.inspectorView.panel("resources").showResource(resource, 1);
+ var sourceFrame = WebInspector.inspectorView.panel("resources")._resourceViewForResource(resource);
if (sourceFrame.loaded)
callbackWrapper(sourceFrame);
else

Powered by Google App Engine
This is Rietveld 408576698