Index: LayoutTests/inspector/editor/text-editor-reveal-line.html |
diff --git a/LayoutTests/inspector/editor/text-editor-reveal-line.html b/LayoutTests/inspector/editor/text-editor-reveal-line.html |
index 550e8c89ace6d82308da41d25ead6b0dcf6e75df..0e810ebd77a9ba7b3095b3bcff0336c0ea48c05c 100644 |
--- a/LayoutTests/inspector/editor/text-editor-reveal-line.html |
+++ b/LayoutTests/inspector/editor/text-editor-reveal-line.html |
@@ -27,7 +27,7 @@ function test() |
function testLineReveal(lineNumber) |
{ |
- textEditor.revealLine(lineNumber); |
+ textEditor.revealPosition(lineNumber); |
var firstLine = textEditor.firstVisibleLine(); |
var lastLine = textEditor.lastVisibleLine(); |
var lineCentered = Math.abs(2 * lineNumber - firstLine - lastLine) <= 1; |