| Index: chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc
|
| diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc b/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc
|
| index 9893a3700e8eb2a04a95b288f2762ad7d6e8a6cf..7ccb4ad40875eeec2baa0c26ae5801c2104175ea 100644
|
| --- a/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc
|
| +++ b/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc
|
| @@ -135,8 +135,10 @@ class ProfileChooserViewExtensionsTest : public ExtensionBrowserTest {
|
|
|
| ProfileChooserView::close_on_deactivate_for_testing_ = false;
|
|
|
| - ui::MouseEvent e(ui::ET_MOUSE_RELEASED, gfx::Point(), gfx::Point(),
|
| - ui::EventTimeForNow(), ui::EF_LEFT_MOUSE_BUTTON, 0);
|
| + ui::MouseEvent e(
|
| + ui::ET_MOUSE_RELEASED, gfx::Point(), gfx::Point(),
|
| + ui::EventTimeForNow(), ui::EF_LEFT_MOUSE_BUTTON, 0,
|
| + ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| button->OnMouseReleased(e);
|
| base::RunLoop().RunUntilIdle();
|
| EXPECT_TRUE(ProfileChooserView::IsShowing());
|
| @@ -152,8 +154,10 @@ class ProfileChooserViewExtensionsTest : public ExtensionBrowserTest {
|
| }
|
|
|
| void ClickProfileChooserViewLockButton() {
|
| - ui::MouseEvent e(ui::ET_MOUSE_RELEASED, gfx::Point(), gfx::Point(),
|
| - ui::EventTimeForNow(), 0, 0);
|
| + ui::MouseEvent e(
|
| + ui::ET_MOUSE_RELEASED, gfx::Point(), gfx::Point(),
|
| + ui::EventTimeForNow(), 0, 0,
|
| + ui::PointerDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| ProfileChooserView::profile_bubble_->ButtonPressed(
|
| ProfileChooserView::profile_bubble_->lock_button_, e);
|
| }
|
|
|