| Index: content/renderer/render_view_browsertest.cc
|
| diff --git a/content/renderer/render_view_browsertest.cc b/content/renderer/render_view_browsertest.cc
|
| index 640ca7b53aa46096b03b43d14554caf14eb882a7..c14c6e7b88c0e69d0469d91a3e825acaa75dd9b6 100644
|
| --- a/content/renderer/render_view_browsertest.cc
|
| +++ b/content/renderer/render_view_browsertest.cc
|
| @@ -1409,10 +1409,8 @@ TEST_F(RenderViewImplTest, ContextMenu) {
|
| WebInputEvent::NoModifiers,
|
| ui::EventTimeStampToSeconds(ui::EventTimeForNow()));
|
| mouse_event.button = WebMouseEvent::Button::Right;
|
| - mouse_event.x = 250;
|
| - mouse_event.y = 250;
|
| - mouse_event.globalX = 250;
|
| - mouse_event.globalY = 250;
|
| + mouse_event.setPositionInWidget(250, 250);
|
| + mouse_event.setPositionInScreen(250, 250);
|
|
|
| SendWebMouseEvent(mouse_event);
|
|
|
|
|