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

Unified Diff: ash/frame/caption_buttons/frame_size_button.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/frame/caption_buttons/frame_caption_button_container_view.h ('k') | ash/frame/custom_frame_view_ash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/frame/caption_buttons/frame_size_button.h
diff --git a/ash/frame/caption_buttons/frame_size_button.h b/ash/frame/caption_buttons/frame_size_button.h
index 84cf84839c22a39cb0562253fb5d5bccddcf58eb..b96ad5c4e87fec4ef99669e960b0096323ac13dd 100644
--- a/ash/frame/caption_buttons/frame_size_button.h
+++ b/ash/frame/caption_buttons/frame_size_button.h
@@ -5,6 +5,8 @@
#ifndef ASH_FRAME_CAPTION_BUTTONS_FRAME_SIZE_BUTTON_H_
#define ASH_FRAME_CAPTION_BUTTONS_FRAME_SIZE_BUTTON_H_
+#include <memory>
+
#include "ash/ash_export.h"
#include "ash/frame/caption_buttons/frame_caption_button.h"
#include "ash/frame/caption_buttons/frame_size_button_delegate.h"
@@ -112,7 +114,7 @@ class ASH_EXPORT FrameSizeButton : public FrameCaptionButton {
// Displays a preview of how the window's bounds will change as a result of
// snapping the window left or right. The preview is only visible if the snap
// left or snap right button is pressed.
- scoped_ptr<PhantomWindowController> phantom_window_controller_;
+ std::unique_ptr<PhantomWindowController> phantom_window_controller_;
DISALLOW_COPY_AND_ASSIGN(FrameSizeButton);
};
« no previous file with comments | « ash/frame/caption_buttons/frame_caption_button_container_view.h ('k') | ash/frame/custom_frame_view_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698