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

Unified Diff: mash/wm/non_client_frame_controller.cc

Issue 1857623003: convert //mash to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « mash/wm/layout_manager_unittest.cc ('k') | mash/wm/root_window_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/non_client_frame_controller.cc
diff --git a/mash/wm/non_client_frame_controller.cc b/mash/wm/non_client_frame_controller.cc
index 157eaf0f5fd4b8940cd0c66eb64b2726cf814027..f62cb153bb1f2d20f81b21d7b9adc68c19e420f4 100644
--- a/mash/wm/non_client_frame_controller.cc
+++ b/mash/wm/non_client_frame_controller.cc
@@ -6,6 +6,8 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
#include "components/mus/public/cpp/property_type_converters.h"
#include "components/mus/public/cpp/window.h"
@@ -140,9 +142,9 @@ class WmNativeWidgetMus : public views::NativeWidgetMus {
private:
// The shadow, may be null.
- scoped_ptr<Shadow> shadow_;
+ std::unique_ptr<Shadow> shadow_;
- scoped_ptr<MoveEventHandler> move_event_handler_;
+ std::unique_ptr<MoveEventHandler> move_event_handler_;
DISALLOW_COPY_AND_ASSIGN(WmNativeWidgetMus);
};
« no previous file with comments | « mash/wm/layout_manager_unittest.cc ('k') | mash/wm/root_window_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698