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

Unified Diff: LayoutTests/inspector/editor/text-editor-reveal-line.html

Issue 204323003: DevTools: Merge highlightPosition and revealLine methods on SourceFrame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed tests 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/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;
« no previous file with comments | « LayoutTests/inspector/editor/editor-test.js ('k') | LayoutTests/inspector/sources/debugger/reveal-execution-line.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698