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

Unified Diff: ui/views/mus/surface_binding.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
« no previous file with comments | « ui/views/mus/platform_window_mus.cc ('k') | ui/views/mus/surface_binding.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/surface_binding.h
diff --git a/ui/views/mus/surface_binding.h b/ui/views/mus/surface_binding.h
index 2c6c5b68a33bc64463c27711e21570e29634ac96..34a1088c5058e003299e642773a520b90313de71 100644
--- a/ui/views/mus/surface_binding.h
+++ b/ui/views/mus/surface_binding.h
@@ -5,9 +5,10 @@
#ifndef UI_VIEWS_MUS_SURFACE_BINDING_H_
#define UI_VIEWS_MUS_SURFACE_BINDING_H_
+#include <memory>
+
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "components/mus/public/interfaces/window_tree.mojom.h"
#include "ui/views/mus/mus_export.h"
@@ -39,7 +40,7 @@ class VIEWS_MUS_EXPORT SurfaceBinding {
// Creates an OutputSurface that renders to the Window supplied to the
// constructor.
- scoped_ptr<cc::OutputSurface> CreateOutputSurface();
+ std::unique_ptr<cc::OutputSurface> CreateOutputSurface();
private:
class PerConnectionState;
« no previous file with comments | « ui/views/mus/platform_window_mus.cc ('k') | ui/views/mus/surface_binding.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698