| 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 981b2cd58d748b9c5d2371c2c47740139d677a11..80c8fa91b95954bcf645af247ea96f8407540b5c 100644
|
| --- a/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
|
| +++ b/third_party/WebKit/Source/core/input/EventHandlerTest.cpp
|
| @@ -254,8 +254,9 @@ TEST_F(EventHandlerTest, sendContextMenuEventWithHover)
|
| "document.addEventListener('contextmenu', event => event.preventDefault());",
|
| ASSERT_NO_EXCEPTION);
|
| document().body()->appendChild(script);
|
| + document().updateStyleAndLayout();
|
| document().frame()->selection().setSelection(
|
| - createVisibleSelectionDeprecated(Position(document().body(), 0)));
|
| + createVisibleSelection(Position(document().body(), 0)));
|
| PlatformMouseEvent mouseDownEvent(
|
| IntPoint(0, 0),
|
| IntPoint(100, 200),
|
|
|