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 752ed696fa307f6cfc8383878d9ce1a7f9ca3481..116d2758a6cc8426bba79a5f9db8e0b551a42948 100644 |
--- a/third_party/WebKit/Source/core/page/ContextMenuControllerTest.cpp |
+++ b/third_party/WebKit/Source/core/page/ContextMenuControllerTest.cpp |
@@ -70,7 +70,7 @@ TEST_F(ContextMenuControllerTest, TestCustomMenu) |
// Create right button click event and pass it to context menu controller. |
Event* event = MouseEvent::create(EventTypeNames::click, false, false, |
document().domWindow(), 50, 50, 0, 0, 0, 0, 0, PlatformEvent::NoModifiers, 1, 0, nullptr, 0, |
- PlatformMouseEvent::RealOrIndistinguishable, String()); |
+ PlatformMouseEvent::RealOrIndistinguishable, String(), nullptr); |
document().getElementById("button_id")->focus(); |
event->setTarget(document().getElementById("button_id")); |
document().page()->contextMenuController().handleContextMenuEvent(event); |