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]; |