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

Unified Diff: content/browser/web_contents/aura/gesture_nav_simple.h

Issue 1874893002: Convert //content/browser 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: content/browser/web_contents/aura/gesture_nav_simple.h
diff --git a/content/browser/web_contents/aura/gesture_nav_simple.h b/content/browser/web_contents/aura/gesture_nav_simple.h
index 999ef262600bcf9dba28424c798faf9f000917a1..d2c593701aec4f89bd6eb7349fb539d206bcef8f 100644
--- a/content/browser/web_contents/aura/gesture_nav_simple.h
+++ b/content/browser/web_contents/aura/gesture_nav_simple.h
@@ -5,8 +5,9 @@
#ifndef CONTENT_BROWSER_WEB_CONTENTS_AURA_GESTURE_NAV_SIMPLE_H_
#define CONTENT_BROWSER_WEB_CONTENTS_AURA_GESTURE_NAV_SIMPLE_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "content/browser/renderer_host/overscroll_controller_delegate.h"
namespace gfx {
@@ -44,9 +45,9 @@ class GestureNavSimple : public OverscrollControllerDelegate {
OverscrollMode new_mode) override;
WebContentsImpl* web_contents_;
- scoped_ptr<ui::Layer> clip_layer_;
- scoped_ptr<ui::Layer> arrow_;
- scoped_ptr<ArrowLayerDelegate> arrow_delegate_;
+ std::unique_ptr<ui::Layer> clip_layer_;
+ std::unique_ptr<ui::Layer> arrow_;
+ std::unique_ptr<ArrowLayerDelegate> arrow_delegate_;
float completion_threshold_;
DISALLOW_COPY_AND_ASSIGN(GestureNavSimple);

Powered by Google App Engine
This is Rietveld 408576698