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

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

Issue 206063003: DevTools: Extract SourcesEditor from SourcesPanel. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: LayoutTests/http/tests/inspector/debugger-test.js
diff --git a/LayoutTests/http/tests/inspector/debugger-test.js b/LayoutTests/http/tests/inspector/debugger-test.js
index ce81b609b54467a2d1eae7a04f83e89ec99bb7e5..777e3ef1c7134668ac1ee93c9bda6bfb52a2192c 100644
--- a/LayoutTests/http/tests/inspector/debugger-test.js
+++ b/LayoutTests/http/tests/inspector/debugger-test.js
@@ -256,7 +256,7 @@ InspectorTest.waitForScriptSource = function(scriptName, callback)
}
}
- InspectorTest.addSniffer(WebInspector.SourcesPanel.prototype, "_addUISourceCode", InspectorTest.waitForScriptSource.bind(InspectorTest, scriptName, callback));
+ InspectorTest.addSniffer(WebInspector.SourcesEditor.prototype, "_addUISourceCode", InspectorTest.waitForScriptSource.bind(InspectorTest, scriptName, callback));
};
InspectorTest.dumpNavigatorView = function(navigatorView, id, prefix)
@@ -393,7 +393,7 @@ InspectorTest.checkUILocation = function(uiSourceCode, lineNumber, columnNumber,
InspectorTest.scriptFormatter = function()
{
- var editorActions = WebInspector.moduleManager.instances(WebInspector.SourcesPanel.EditorAction);
+ var editorActions = WebInspector.moduleManager.instances(WebInspector.SourcesEditor.EditorAction);
for (var i = 0; i < editorActions.length; ++i) {
if (editorActions[i] instanceof WebInspector.ScriptFormatterEditorAction)
return editorActions[i];

Powered by Google App Engine
This is Rietveld 408576698