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

Unified Diff: ui/views_content_client/views_content_client_main_parts_aura.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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
Index: ui/views_content_client/views_content_client_main_parts_aura.h
diff --git a/ui/views_content_client/views_content_client_main_parts_aura.h b/ui/views_content_client/views_content_client_main_parts_aura.h
index 84d05308939e9b1b4760e9bda1922b7a7836fa9f..62a1e8cc0e4c810baa71d7ec378e31d57115d68e 100644
--- a/ui/views_content_client/views_content_client_main_parts_aura.h
+++ b/ui/views_content_client/views_content_client_main_parts_aura.h
@@ -5,8 +5,9 @@
#ifndef UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_AURA_H_
#define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_AURA_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/views_content_client/views_content_client_main_parts.h"
namespace wm {
@@ -27,7 +28,7 @@ class ViewsContentClientMainPartsAura : public ViewsContentClientMainParts {
void PostMainMessageLoopRun() override;
private:
- scoped_ptr< ::wm::WMState> wm_state_;
+ std::unique_ptr<::wm::WMState> wm_state_;
DISALLOW_COPY_AND_ASSIGN(ViewsContentClientMainPartsAura);
};

Powered by Google App Engine
This is Rietveld 408576698