| Index: third_party/WebKit/LayoutTests/inspector/editor/editor-test.js
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/editor/editor-test.js b/third_party/WebKit/LayoutTests/inspector/editor/editor-test.js
|
| index 4fe9ae1e47a92997b94dc6e82380d97585cb3e70..7fc0d211797d305e841e397b127db56843f0734b 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/editor/editor-test.js
|
| +++ b/third_party/WebKit/LayoutTests/inspector/editor/editor-test.js
|
| @@ -3,11 +3,11 @@ function initialize_EditorTests()
|
|
|
| InspectorTest.createTestEditor = function(clientHeight, textEditorDelegate)
|
| {
|
| - var textEditor = new WebInspector.SourcesTextEditor(textEditorDelegate || new WebInspector.SourcesTextEditorDelegate());
|
| + var textEditor = new SourceFrame.SourcesTextEditor(textEditorDelegate || new SourceFrame.SourcesTextEditorDelegate());
|
| clientHeight = clientHeight || 100;
|
| textEditor.element.style.height = clientHeight + "px";
|
| textEditor.element.style.flex = "none";
|
| - textEditor.show(WebInspector.inspectorView.element);
|
| + textEditor.show(UI.inspectorView.element);
|
| return textEditor;
|
| };
|
|
|
| @@ -22,7 +22,7 @@ function textWithSelection(text, selections)
|
| }
|
|
|
| var lines = text.split("\n");
|
| - selections.sort(WebInspector.TextRange.comparator);
|
| + selections.sort(Common.TextRange.comparator);
|
| for (var i = selections.length - 1; i >= 0; --i) {
|
| var selection = selections[i];
|
| selection = selection.normalize();
|
| @@ -52,7 +52,7 @@ InspectorTest.setLineSelections = function(editor, selections)
|
| selection.from = selection.column;
|
| selection.to = selection.column;
|
| }
|
| - coords.push(new WebInspector.TextRange(selection.line, selection.from, selection.line, selection.to));
|
| + coords.push(new Common.TextRange(selection.line, selection.from, selection.line, selection.to));
|
| }
|
| editor.setSelections(coords);
|
| }
|
|
|