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

Unified Diff: chrome/browser/chromeos/ui/focus_ring_layer.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_layer.h
diff --git a/chrome/browser/chromeos/ui/focus_ring_layer.h b/chrome/browser/chromeos/ui/focus_ring_layer.h
index 7fa56c91990357cd646a4a8fd4cdda5b0933582e..f4e5236f52e885caa417719b2958e5fdca6b1da8 100644
--- a/chrome/browser/chromeos/ui/focus_ring_layer.h
+++ b/chrome/browser/chromeos/ui/focus_ring_layer.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_CHROMEOS_UI_FOCUS_RING_LAYER_H_
#define CHROME_BROWSER_CHROMEOS_UI_FOCUS_RING_LAYER_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/compositor/layer_delegate.h"
#include "ui/gfx/geometry/rect.h"
@@ -62,7 +63,7 @@ class FocusRingLayer : public ui::LayerDelegate {
aura::Window* root_window_;
// The current layer.
- scoped_ptr<ui::Layer> layer_;
+ std::unique_ptr<ui::Layer> layer_;
// The bounding rectangle of the focused object, in |root_window_|
// coordinates.
« no previous file with comments | « chrome/browser/chromeos/ui/focus_ring_controller.h ('k') | chrome/browser/chromeos/ui/idle_app_name_notification_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698