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

Unified Diff: ui/touch_selection/touch_handle_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
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 b266fdb9b497467314026348a78c49cb767baa65..d90c94b3488c8ffdb28dd16f3e05e7badf486c14 100644
--- a/ui/touch_selection/touch_handle_unittest.cc
+++ b/ui/touch_selection/touch_handle_unittest.cc
@@ -92,8 +92,7 @@ class TouchHandleTest : public testing::Test, public TouchHandleClient {
void SetNeedsAnimate() override { needs_animate_ = true; }
scoped_ptr<TouchHandleDrawable> CreateDrawable() override {
- return scoped_ptr<TouchHandleDrawable>(
- new MockTouchHandleDrawable(&drawable_data_));
+ return make_scoped_ptr(new MockTouchHandleDrawable(&drawable_data_));
}
base::TimeDelta GetTapTimeout() const override {
« no previous file with comments | « ui/ozone/platform/test/ozone_platform_test.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