Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(806)

Unified Diff: ui/chromeos/touch_exploration_controller.cc

Issue 922923002: ui: Cleanup the usage of scoped_ptr throughout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/search/mixer_unittest.cc ('k') | ui/display/chromeos/x11/display_configurator_x11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
« no previous file with comments | « ui/app_list/search/mixer_unittest.cc ('k') | ui/display/chromeos/x11/display_configurator_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698