Index: third_party/WebKit/LayoutTests/inspector/console/console-viewport-selection.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-viewport-selection.html b/third_party/WebKit/LayoutTests/inspector/console/console-viewport-selection.html |
index d1f84d9ed68c93d2155a164d2f1691331881580f..1eedad3656b25543173e8a710f86842058ab27fb 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/console/console-viewport-selection.html |
+++ b/third_party/WebKit/LayoutTests/inspector/console/console-viewport-selection.html |
@@ -171,8 +171,8 @@ function test() |
viewport.forceScrollItemToBeFirst(0); |
// Set some initial selection in console. |
- var base = consoleView.itemElement(messagesCount - 2); |
- var extent = consoleView.itemElement(messagesCount - 1); |
+ var base = consoleView.itemElement(messagesCount - 2).element(); |
+ var extent = consoleView.itemElement(messagesCount - 1).element(); |
window.getSelection().setBaseAndExtent(base, 0, extent, 0); |
// Try to select all messages. |