Index: content/browser/web_contents/aura/gesture_nav_simple.cc |
diff --git a/content/browser/web_contents/aura/gesture_nav_simple.cc b/content/browser/web_contents/aura/gesture_nav_simple.cc |
index debe71138ea8142f3301d8341e12171f4654ac2d..4ff4abe5dd269ca0f131edefc965aac6dfffcf09 100644 |
--- a/content/browser/web_contents/aura/gesture_nav_simple.cc |
+++ b/content/browser/web_contents/aura/gesture_nav_simple.cc |
@@ -51,7 +51,7 @@ bool ShouldNavigateBack(const NavigationController& controller, |
template <class T> |
class DeleteAfterAnimation : public ui::ImplicitAnimationObserver { |
public: |
- explicit DeleteAfterAnimation(scoped_ptr<T> object) |
+ explicit DeleteAfterAnimation(std::unique_ptr<T> object) |
: object_(std::move(object)) {} |
private: |
@@ -67,7 +67,7 @@ class DeleteAfterAnimation : public ui::ImplicitAnimationObserver { |
BrowserThread::DeleteSoon(BrowserThread::UI, FROM_HERE, this); |
} |
- scoped_ptr<T> object_; |
+ std::unique_ptr<T> object_; |
DISALLOW_COPY_AND_ASSIGN(DeleteAfterAnimation); |
}; |