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

Unified Diff: ash/rotator/screen_rotation_animation.cc

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 8 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 | « ash/rotator/screen_rotation_animation.h ('k') | ash/rotator/screen_rotation_animation_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/rotator/screen_rotation_animation.cc
diff --git a/ash/rotator/screen_rotation_animation.cc b/ash/rotator/screen_rotation_animation.cc
index cc8698d4351b9019a641dffdae42512962760ec0..005060e0417b5921b760e0d47564545f6d84a174 100644
--- a/ash/rotator/screen_rotation_animation.cc
+++ b/ash/rotator/screen_rotation_animation.cc
@@ -29,7 +29,7 @@ ScreenRotationAnimation::ScreenRotationAnimation(
tween_type_(tween_type),
initial_opacity_(initial_opacity),
target_opacity_(target_opacity) {
- scoped_ptr<ui::InterpolatedTransform> rotation(
+ std::unique_ptr<ui::InterpolatedTransform> rotation(
new ui::InterpolatedTransformAboutPivot(
pivot, new ui::InterpolatedRotation(start_degrees, end_degrees)));
« no previous file with comments | « ash/rotator/screen_rotation_animation.h ('k') | ash/rotator/screen_rotation_animation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698