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

Unified Diff: ui/touch_selection/touch_selection_controller_unittest.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/touch_selection/touch_handle_unittest.cc ('k') | ui/views/test/widget_test_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/touch_selection/touch_selection_controller_unittest.cc
diff --git a/ui/touch_selection/touch_selection_controller_unittest.cc b/ui/touch_selection/touch_selection_controller_unittest.cc
index b10c1daaee2c66f657e7f6a478d0e7b393e532f4..2281aeeac1053768b8d8660b92e8005b0794aa92 100644
--- a/ui/touch_selection/touch_selection_controller_unittest.cc
+++ b/ui/touch_selection/touch_selection_controller_unittest.cc
@@ -97,8 +97,7 @@ class TouchSelectionControllerTest : public testing::Test,
}
scoped_ptr<TouchHandleDrawable> CreateDrawable() override {
- return scoped_ptr<TouchHandleDrawable>(
- new MockTouchHandleDrawable(&dragging_enabled_));
+ return make_scoped_ptr(new MockTouchHandleDrawable(&dragging_enabled_));
}
void AllowShowingOnTapForEmptyEditable() {
« no previous file with comments | « ui/touch_selection/touch_handle_unittest.cc ('k') | ui/views/test/widget_test_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698