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 051d4e2a3e82ab155905a95d39d621a72dafa772..4fe9ae1e47a92997b94dc6e82380d97585cb3e70 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/editor/editor-test.js |
+++ b/third_party/WebKit/LayoutTests/inspector/editor/editor-test.js |
@@ -188,7 +188,7 @@ InspectorTest.dumpSelectionStats = function(textEditor) |
var selections = textEditor.selections(); |
for (var i = 0; i < selections.length; ++i) { |
var selection = selections[i]; |
- var text = textEditor.copyRange(selection); |
+ var text = textEditor.text(selection); |
if (!listHashMap[text]) { |
listHashMap[text] = 1; |
sortedKeys.push(text); |