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

Unified Diff: LayoutTests/inspector/sources/debugger/script-formatter.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/sources/debugger/script-formatter.html
diff --git a/LayoutTests/inspector/sources/debugger/script-formatter.html b/LayoutTests/inspector/sources/debugger/script-formatter.html
index 6d6107564096d9a3f31f912d4eb083afdb5d7ce7..c475e4e187c813fad82b53e15c2db724a0985a76 100644
--- a/LayoutTests/inspector/sources/debugger/script-formatter.html
+++ b/LayoutTests/inspector/sources/debugger/script-formatter.html
@@ -8,7 +8,7 @@
var test = function()
{
- var panel = WebInspector.panels.sources;
+ var panel = WebInspector.inspectorView.panel("sources");
var worker = new Worker("script_formatter_worker/ScriptFormatterWorker.js");
InspectorTest.runDebuggerTestSuite([
@@ -41,7 +41,7 @@ var test = function()
function didFormatContent(content, mapping)
{
- var source = WebInspector.panels.sources.visibleView._textEditor.text();
+ var source = WebInspector.inspectorView.panel("sources").visibleView._textEditor.text();
var formattedSource = content;
function testMapping(string)

Powered by Google App Engine
This is Rietveld 408576698