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

Unified Diff: LayoutTests/inspector/profiler/heap-snapshot-loader.html

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/inspector/profiler/heap-snapshot-loader.html
diff --git a/LayoutTests/inspector/profiler/heap-snapshot-loader.html b/LayoutTests/inspector/profiler/heap-snapshot-loader.html
index 8d7128ab1766ea2aee510afa0a96aafe64f35785..33664f568fac229f8d8eeb23917df69f855a43d8 100644
--- a/LayoutTests/inspector/profiler/heap-snapshot-loader.html
+++ b/LayoutTests/inspector/profiler/heap-snapshot-loader.html
@@ -13,7 +13,7 @@ function test()
function injectMockProfile(callback) {
var dispatcher = InspectorBackend._connection._dispatchers["HeapProfiler"]._dispatcher;
- var panel = WebInspector.panels.profiles;
+ var panel = WebInspector.inspectorView.panel("profiles");
panel._reset();
var profileType = WebInspector.ProfileTypeRegistry.instance.heapSnapshotProfileType;
@@ -75,7 +75,7 @@ function test()
function heapSnapshotLoadFromFileTest(next)
{
- var panel = WebInspector.panels.profiles;
+ var panel = WebInspector.inspectorView.panel("profiles");
var fileMock = {
name: "mock.heapsnapshot",

Powered by Google App Engine
This is Rietveld 408576698