Index: ui/chromeos/touch_exploration_controller.cc |
diff --git a/ui/chromeos/touch_exploration_controller.cc b/ui/chromeos/touch_exploration_controller.cc |
index 00b234cf450ca1cb938b20c03914cc14c856dc74..23ea7406f661873c9d212253ff04bcbfd394bda8 100644 |
--- a/ui/chromeos/touch_exploration_controller.cc |
+++ b/ui/chromeos/touch_exploration_controller.cc |
@@ -986,7 +986,7 @@ scoped_ptr<ui::Event> TouchExplorationController::CreateMouseMoveEvent( |
// event to the new ChromeVox background page via the automation api. |
flags |= ui::EF_COMMAND_DOWN; |
- return scoped_ptr<ui::Event>(new ui::MouseEvent( |
+ return make_scoped_ptr(new ui::MouseEvent( |
ui::ET_MOUSE_MOVED, location, location, ui::EventTimeForNow(), flags, 0)); |
} |