| Index: Source/web/PopupMenuTest.cpp
|
| diff --git a/Source/web/PopupMenuTest.cpp b/Source/web/PopupMenuTest.cpp
|
| index 13d8de77ef4aadb362116aa3ab4666f730a4349b..374cd4ad2d30a0372b3871a4edad5e7414213b33 100644
|
| --- a/Source/web/PopupMenuTest.cpp
|
| +++ b/Source/web/PopupMenuTest.cpp
|
| @@ -240,13 +240,13 @@ protected:
|
| void simulateLeftMouseDownEvent(const IntPoint& point)
|
| {
|
| PlatformMouseEvent mouseEvent(point, point, LeftButton, PlatformEvent::MousePressed,
|
| - 1, false, false, false, false, 0);
|
| + 1, false, false, false, false, PlatformMouseEvent::RealOrIndistinguishable, 0);
|
| webView()->selectPopup()->handleMouseDownEvent(mouseEvent);
|
| }
|
| void simulateLeftMouseUpEvent(const IntPoint& point)
|
| {
|
| PlatformMouseEvent mouseEvent(point, point, LeftButton, PlatformEvent::MouseReleased,
|
| - 1, false, false, false, false, 0);
|
| + 1, false, false, false, false, PlatformMouseEvent::RealOrIndistinguishable, 0);
|
| webView()->selectPopup()->handleMouseReleaseEvent(mouseEvent);
|
| }
|
|
|
| @@ -368,7 +368,7 @@ TEST_F(SelectPopupMenuTest, MouseOverItemClickOutside)
|
| IntPoint row1Point(2, menuItemHeight * 1.5);
|
| // Simulate the mouse moving over the first item.
|
| PlatformMouseEvent mouseEvent(row1Point, row1Point, NoButton, PlatformEvent::MouseMoved,
|
| - 1, false, false, false, false, 0);
|
| + 1, false, false, false, false, PlatformMouseEvent::RealOrIndistinguishable, 0);
|
| webView()->selectPopup()->handleMouseMoveEvent(mouseEvent);
|
|
|
| // Click outside the popup.
|
|
|