| Index: third_party/WebKit/Source/core/input/EventHandlerTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
|
| index d1ec45a7f6382c6a7bfd52d9896a6379d6c7fed6..19b58c2077427c5d2344963b553f22223c5f278b 100644
|
| --- a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
|
| +++ b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
|
| @@ -245,7 +245,9 @@ TEST_F(EventHandlerTest, sendContextMenuEventWithHover) {
|
| document().body()->appendChild(script);
|
| document().updateStyleAndLayout();
|
| document().frame()->selection().setSelection(
|
| - createVisibleSelection(Position(document().body(), 0)));
|
| + SelectionInDOMTree::Builder()
|
| + .collapse(Position(document().body(), 0))
|
| + .build());
|
| PlatformMouseEvent mouseDownEvent(
|
| IntPoint(0, 0), IntPoint(100, 200), WebPointerProperties::Button::Right,
|
| PlatformEvent::MousePressed, 1, PlatformEvent::Modifiers::RightButtonDown,
|
|
|