Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
index 972c7f4146ed1d74a3e1c4b0525245a233985c7b..110ddd4b1af7ca7fa9f62997166c6f92b397306e 100644 |
--- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp |
@@ -5814,7 +5814,8 @@ TEST_P(ParameterizedWebFrameTest, SimulateFragmentAnchorMiddleClick) |
destination.setFragmentIdentifier("test"); |
RefPtrWillBeRawPtr<Event> event = MouseEvent::create(EventTypeNames::click, false, false, |
- document->domWindow(), 0, 0, 0, 0, 0, 0, 0, PlatformEvent::NoModifiers, 1, 0, nullptr, 0); |
+ document->domWindow(), 0, 0, 0, 0, 0, 0, 0, PlatformEvent::NoModifiers, 1, 0, nullptr, 0, |
+ PlatformMouseEvent::RealOrIndistinguishable, String()); |
FrameLoadRequest frameRequest(document, ResourceRequest(destination)); |
frameRequest.setTriggeringEvent(event); |
toLocalFrame(webViewHelper.webViewImpl()->page()->mainFrame())->loader().load(frameRequest); |
@@ -5863,7 +5864,8 @@ TEST_P(ParameterizedWebFrameTest, ModifiedClickNewWindow) |
// ctrl+click event |
RefPtrWillBeRawPtr<Event> event = MouseEvent::create(EventTypeNames::click, false, false, |
- document->domWindow(), 0, 0, 0, 0, 0, 0, 0, PlatformEvent::CtrlKey, 0, 0, nullptr, 0); |
+ document->domWindow(), 0, 0, 0, 0, 0, 0, 0, PlatformEvent::CtrlKey, 0, 0, nullptr, 0, |
+ PlatformMouseEvent::RealOrIndistinguishable, String()); |
FrameLoadRequest frameRequest(document, ResourceRequest(destination)); |
frameRequest.setTriggeringEvent(event); |
UserGestureIndicator gesture(DefinitelyProcessingUserGesture); |