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

Unified Diff: ash/rotator/window_rotation.h

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: ash/rotator/window_rotation.h
diff --git a/ash/rotator/window_rotation.h b/ash/rotator/window_rotation.h
index ef9691b4db6a9906928e103753e83758157d2634..9ef6b4a0559dde287c5a40b6606ca65b14318d59 100644
--- a/ash/rotator/window_rotation.h
+++ b/ash/rotator/window_rotation.h
@@ -5,9 +5,10 @@
#ifndef ASH_WINDOW_ROTATION_H_
#define ASH_WINDOW_ROTATION_H_
+#include <memory>
+
#include "ash/ash_export.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/compositor/layer_animation_element.h"
#include "ui/gfx/geometry/point.h"
@@ -44,7 +45,7 @@ class ASH_EXPORT WindowRotation : public ui::LayerAnimationElement {
void OnGetTarget(TargetValue* target) const override;
void OnAbort(ui::LayerAnimationDelegate* delegate) override;
- scoped_ptr<ui::InterpolatedTransform> interpolated_transform_;
+ std::unique_ptr<ui::InterpolatedTransform> interpolated_transform_;
// The number of degrees to rotate.
int degrees_;

Powered by Google App Engine
This is Rietveld 408576698