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

Unified Diff: chrome/browser/chromeos/ui/focus_ring_controller.h

Issue 1870793002: Convert //chrome/browser/chromeos from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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: chrome/browser/chromeos/ui/focus_ring_controller.h
diff --git a/chrome/browser/chromeos/ui/focus_ring_controller.h b/chrome/browser/chromeos/ui/focus_ring_controller.h
index 3b789a88cd86a21f8684354c9a3447f55e8fa14a..e7b1432c0ee8bd96689f38f4efd59e35f84ac353 100644
--- a/chrome/browser/chromeos/ui/focus_ring_controller.h
+++ b/chrome/browser/chromeos/ui/focus_ring_controller.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_CHROMEOS_UI_FOCUS_RING_CONTROLLER_H_
#define CHROME_BROWSER_CHROMEOS_UI_FOCUS_RING_CONTROLLER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/chromeos/ui/focus_ring_layer.h"
#include "ui/views/focus/focus_manager.h"
#include "ui/views/focus/widget_focus_manager.h"
@@ -61,7 +62,7 @@ class FocusRingController : public FocusRingLayerDelegate,
bool visible_;
views::Widget* widget_;
- scoped_ptr<FocusRingLayer> focus_ring_layer_;
+ std::unique_ptr<FocusRingLayer> focus_ring_layer_;
DISALLOW_COPY_AND_ASSIGN(FocusRingController);
};
« no previous file with comments | « chrome/browser/chromeos/ui/accessibility_focus_ring_controller.h ('k') | chrome/browser/chromeos/ui/focus_ring_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698