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

Unified Diff: ash/sticky_keys/sticky_keys_overlay.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: address comments 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
« no previous file with comments | « ash/sticky_keys/sticky_keys_controller.cc ('k') | ash/sticky_keys/sticky_keys_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sticky_keys/sticky_keys_overlay.h
diff --git a/ash/sticky_keys/sticky_keys_overlay.h b/ash/sticky_keys/sticky_keys_overlay.h
index 5062636b81853caa5754c703bcadd38e944a4923..3529ffb27e1b202dab54d93b30ee11396ca75a53 100644
--- a/ash/sticky_keys/sticky_keys_overlay.h
+++ b/ash/sticky_keys/sticky_keys_overlay.h
@@ -5,9 +5,10 @@
#ifndef ASH_STICKY_KEYS_STICKY_KEYS_OVERLAY_H_
#define ASH_STICKY_KEYS_STICKY_KEYS_OVERLAY_H_
+#include <memory>
+
#include "ash/ash_export.h"
#include "ash/sticky_keys/sticky_keys_state.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/compositor/layer_animation_observer.h"
#include "ui/events/event_constants.h"
#include "ui/gfx/geometry/size.h"
@@ -65,8 +66,8 @@ class ASH_EXPORT StickyKeysOverlay : public ui::LayerAnimationObserver {
void OnLayerAnimationScheduled(ui::LayerAnimationSequence* sequence) override;
bool is_visible_;
- scoped_ptr<views::Widget> overlay_widget_;
- scoped_ptr<StickyKeysOverlayView> overlay_view_;
+ std::unique_ptr<views::Widget> overlay_widget_;
+ std::unique_ptr<StickyKeysOverlayView> overlay_view_;
gfx::Size widget_size_;
};
« no previous file with comments | « ash/sticky_keys/sticky_keys_controller.cc ('k') | ash/sticky_keys/sticky_keys_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698