Index: third_party/WebKit/Source/core/page/ContextMenuControllerTest.cpp |
diff --git a/third_party/WebKit/Source/core/page/ContextMenuControllerTest.cpp b/third_party/WebKit/Source/core/page/ContextMenuControllerTest.cpp |
index 773ebabefb80782505eef4088e6bf37ef041cbd7..2b913449bb1ec15ab7d65e9f7a2fab6e14b46781 100644 |
--- a/third_party/WebKit/Source/core/page/ContextMenuControllerTest.cpp |
+++ b/third_party/WebKit/Source/core/page/ContextMenuControllerTest.cpp |
@@ -69,7 +69,8 @@ TEST_F(ContextMenuControllerTest, TestCustomMenu) |
// Create right button click event and pass it to context menu controller. |
RefPtrWillBeRawPtr<Event> event = MouseEvent::create(EventTypeNames::click, false, false, |
- document().domWindow(), 50, 50, 0, 0, 0, 0, 0, PlatformEvent::NoModifiers, 1, 0, nullptr, 0); |
+ document().domWindow(), 50, 50, 0, 0, 0, 0, 0, PlatformEvent::NoModifiers, 1, 0, nullptr, 0, |
+ PlatformMouseEvent::RealOrIndistinguishable, String()); |
document().getElementById("button_id")->focus(); |
event->setTarget(document().getElementById("button_id")); |
document().page()->contextMenuController().handleContextMenuEvent(event.get()); |