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

Unified Diff: mash/wm/frame/non_client_frame_view_mash.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/frame/non_client_frame_view_mash.h ('k') | mash/wm/layout_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/wm/frame/non_client_frame_view_mash.cc
diff --git a/mash/wm/frame/non_client_frame_view_mash.cc b/mash/wm/frame/non_client_frame_view_mash.cc
index a3ebeb1313a937f2ee383cc8392340daf807f775..320d7689f3a3b570b1ec950782885133196c95ea 100644
--- a/mash/wm/frame/non_client_frame_view_mash.cc
+++ b/mash/wm/frame/non_client_frame_view_mash.cc
@@ -5,6 +5,7 @@
#include "mash/wm/frame/non_client_frame_view_mash.h"
#include <algorithm>
+#include <memory>
#include <vector>
#include "base/macros.h"
@@ -70,7 +71,7 @@ class NonClientFrameViewMash::HeaderView : public views::View {
views::Widget* frame_;
// Helper for painting the header.
- scoped_ptr<DefaultHeaderPainter> header_painter_;
+ std::unique_ptr<DefaultHeaderPainter> header_painter_;
// View which contains the window caption buttons.
FrameCaptionButtonContainerView* caption_button_container_;
« no previous file with comments | « mash/wm/frame/non_client_frame_view_mash.h ('k') | mash/wm/layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698