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

Unified Diff: ui/touch_selection/touch_selection_controller_unittest.cc

Issue 2259753003: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/border.cc » ('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 1d01fc49221cec122407e2d0041112e916847658..542f6b44e8255849bc4e4b2a853ef087a9e83792 100644
--- a/ui/touch_selection/touch_selection_controller_unittest.cc
+++ b/ui/touch_selection/touch_selection_controller_unittest.cc
@@ -103,7 +103,7 @@ class TouchSelectionControllerTest : public testing::Test,
}
std::unique_ptr<TouchHandleDrawable> CreateDrawable() override {
- return base::WrapUnique(new MockTouchHandleDrawable(&dragging_enabled_));
+ return base::MakeUnique<MockTouchHandleDrawable>(&dragging_enabled_);
}
void EnableLongPressDragSelection() {
« no previous file with comments | « ui/touch_selection/touch_handle_unittest.cc ('k') | ui/views/border.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698