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

Unified Diff: ash/wm/panels/panel_window_resizer.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/wm/panels/panel_layout_manager_unittest.cc ('k') | ash/wm/panels/panel_window_resizer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/panels/panel_window_resizer.h
diff --git a/ash/wm/panels/panel_window_resizer.h b/ash/wm/panels/panel_window_resizer.h
index a18319417c77b938c976f7f9a77f3da8ada19bc3..ed6feb92360b1e9b99a16b8fbba8ef137d5b0c73 100644
--- a/ash/wm/panels/panel_window_resizer.h
+++ b/ash/wm/panels/panel_window_resizer.h
@@ -5,6 +5,8 @@
#ifndef ASH_WM_PANELS_PANEL_WINDOW_RESIZER_H_
#define ASH_WM_PANELS_PANEL_WINDOW_RESIZER_H_
+#include <memory>
+
#include "ash/wm/window_resizer.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
@@ -63,7 +65,7 @@ class ASH_EXPORT PanelWindowResizer : public WindowResizer {
// Wraps a window resizer and adds panel detaching / reattaching and snapping
// to launcher behavior during drags.
- scoped_ptr<WindowResizer> next_window_resizer_;
+ std::unique_ptr<WindowResizer> next_window_resizer_;
// Panel container window.
aura::Window* panel_container_;
« no previous file with comments | « ash/wm/panels/panel_layout_manager_unittest.cc ('k') | ash/wm/panels/panel_window_resizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698