| 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 b7550be879d184fad51ed67ffd6af4b15fcde7c6..1c5bb8a93a6acd13a727053c59a9068d773a8f25 100644
|
| --- a/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc
|
| +++ b/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc
|
| @@ -114,8 +114,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(), 0, 0);
|
| + ui::MouseEvent e(
|
| + ui::ET_MOUSE_RELEASED, gfx::Point(), gfx::Point(),
|
| + ui::EventTimeForNow(), 0, 0,
|
| + ui::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| button->NotifyClick(e);
|
| base::MessageLoop::current()->RunUntilIdle();
|
| EXPECT_TRUE(ProfileChooserView::IsShowing());
|
| @@ -131,8 +133,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::PointerEventDetails(ui::EventPointerType::POINTER_TYPE_MOUSE));
|
| ProfileChooserView::profile_bubble_->ButtonPressed(
|
| ProfileChooserView::profile_bubble_->lock_button_, e);
|
| }
|
|
|