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

Unified Diff: ui/ozone/platform/x11/x11_surface_factory.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/ozone/platform/x11/x11_cursor_factory_ozone.h ('k') | ui/ozone/platform/x11/x11_surface_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/x11/x11_surface_factory.h
diff --git a/ui/ozone/platform/x11/x11_surface_factory.h b/ui/ozone/platform/x11/x11_surface_factory.h
index 344704858ecf4d8a95ddba790a41a25e050721b4..9c280463f58a46ecfd92a06ef60589bc5e88e7d5 100644
--- a/ui/ozone/platform/x11/x11_surface_factory.h
+++ b/ui/ozone/platform/x11/x11_surface_factory.h
@@ -5,7 +5,8 @@
#ifndef UI_OZONE_PLATFORM_X11_X11_SURFACE_FACTORY_H_
#define UI_OZONE_PLATFORM_X11_X11_SURFACE_FACTORY_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "ui/ozone/public/surface_factory_ozone.h"
namespace ui {
@@ -18,7 +19,7 @@ class X11SurfaceFactory : public SurfaceFactoryOzone {
// SurfaceFactoryOzone:
- scoped_ptr<SurfaceOzoneEGL> CreateEGLSurfaceForWidget(
+ std::unique_ptr<SurfaceOzoneEGL> CreateEGLSurfaceForWidget(
gfx::AcceleratedWidget widget) override;
bool LoadEGLGLES2Bindings(
AddGLLibraryCallback add_gl_library,
« no previous file with comments | « ui/ozone/platform/x11/x11_cursor_factory_ozone.h ('k') | ui/ozone/platform/x11/x11_surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698