| Index: ui/views/accessibility/ax_view_obj_wrapper.cc
|
| diff --git a/ui/views/accessibility/ax_view_obj_wrapper.cc b/ui/views/accessibility/ax_view_obj_wrapper.cc
|
| index ec14b4be1b5eaa64055e13992cc1fab7e398d5c8..5892681f5605648a945d468331e2a69d7c49094c 100644
|
| --- a/ui/views/accessibility/ax_view_obj_wrapper.cc
|
| +++ b/ui/views/accessibility/ax_view_obj_wrapper.cc
|
| @@ -78,12 +78,14 @@ int32 AXViewObjWrapper::GetID() {
|
| void AXViewObjWrapper::DoDefault() {
|
| gfx::Rect rect = view_->GetLocalBounds();
|
| gfx::Point center = rect.CenterPoint();
|
| - view_->OnMousePressed(ui::MouseEvent(
|
| - ui::ET_MOUSE_PRESSED, center, center, ui::EventTimeForNow(),
|
| - ui::EF_LEFT_MOUSE_BUTTON, ui::EF_LEFT_MOUSE_BUTTON));
|
| - view_->OnMouseReleased(ui::MouseEvent(
|
| - ui::ET_MOUSE_RELEASED, center, center, ui::EventTimeForNow(),
|
| - ui::EF_LEFT_MOUSE_BUTTON, ui::EF_LEFT_MOUSE_BUTTON));
|
| + view_->OnMousePressed(
|
| + ui::MouseEvent(ui::ET_MOUSE_PRESSED, gfx::PointF(center),
|
| + gfx::PointF(center), ui::EventTimeForNow(),
|
| + ui::EF_LEFT_MOUSE_BUTTON, ui::EF_LEFT_MOUSE_BUTTON));
|
| + view_->OnMouseReleased(
|
| + ui::MouseEvent(ui::ET_MOUSE_RELEASED, gfx::PointF(center),
|
| + gfx::PointF(center), ui::EventTimeForNow(),
|
| + ui::EF_LEFT_MOUSE_BUTTON, ui::EF_LEFT_MOUSE_BUTTON));
|
| }
|
|
|
| void AXViewObjWrapper::Focus() {
|
|
|