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

Unified Diff: ui/touch_selection/touch_handle_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
Index: ui/touch_selection/touch_handle_unittest.cc
diff --git a/ui/touch_selection/touch_handle_unittest.cc b/ui/touch_selection/touch_handle_unittest.cc
index f4d6459a5e278a47e23eae9555561eaf38d84401..7c07f4462bd3df3fcc6e505191894df26b4537af 100644
--- a/ui/touch_selection/touch_handle_unittest.cc
+++ b/ui/touch_selection/touch_handle_unittest.cc
@@ -109,7 +109,7 @@ class TouchHandleTest : public testing::Test, public TouchHandleClient {
void SetNeedsAnimate() override { needs_animate_ = true; }
std::unique_ptr<TouchHandleDrawable> CreateDrawable() override {
- return base::WrapUnique(new MockTouchHandleDrawable(&drawable_data_));
+ return base::MakeUnique<MockTouchHandleDrawable>(&drawable_data_);
}
base::TimeDelta GetMaxTapDuration() const override {
« no previous file with comments | « ui/ozone/platform/x11/ozone_platform_x11.cc ('k') | ui/touch_selection/touch_selection_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698