Index: ui/views/controls/webview/webview_unittest.cc |
diff --git a/ui/views/controls/webview/webview_unittest.cc b/ui/views/controls/webview/webview_unittest.cc |
index 76ef42d665fe5dca72372db78bee373babfe5a83..177e8e2419a7baee902bf4d57fae99454e9f0e59 100644 |
--- a/ui/views/controls/webview/webview_unittest.cc |
+++ b/ui/views/controls/webview/webview_unittest.cc |
@@ -404,7 +404,8 @@ TEST_F(WebViewUnitTest, EmbeddedFullscreenDuringScreenCapture_ClickToFocus) { |
const ui::MouseEvent click_outside_holder( |
ui::ET_MOUSE_PRESSED, gfx::Point(1, 1), |
gfx::Point(), // Immaterial. |
- ui::EventTimeForNow(), ui::EF_LEFT_MOUSE_BUTTON, 0); |
+ ui::EventTimeForNow(), ui::EF_LEFT_MOUSE_BUTTON, 0, |
+ ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE)); |
EXPECT_TRUE(static_cast<views::View*>(web_view())-> |
OnMousePressed(click_outside_holder)); |
EXPECT_TRUE(web_view()->HasFocus()); |
@@ -426,7 +427,8 @@ TEST_F(WebViewUnitTest, EmbeddedFullscreenDuringScreenCapture_ClickToFocus) { |
const ui::MouseEvent click_inside_holder( |
ui::ET_MOUSE_PRESSED, web_view()->bounds().CenterPoint(), |
gfx::Point(), // Immaterial. |
- ui::EventTimeForNow(), ui::EF_LEFT_MOUSE_BUTTON, 0); |
+ ui::EventTimeForNow(), ui::EF_LEFT_MOUSE_BUTTON, 0, |
+ ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE)); |
EXPECT_FALSE(static_cast<views::View*>(web_view())-> |
OnMousePressed(click_inside_holder)); |
EXPECT_FALSE(web_view()->HasFocus()); |