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

Unified Diff: ui/ozone/public/surface_ozone_egl.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/public/surface_ozone_canvas.h ('k') | ui/ozone/public/system_input_injector.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/surface_ozone_egl.h
diff --git a/ui/ozone/public/surface_ozone_egl.h b/ui/ozone/public/surface_ozone_egl.h
index 67424a4bcc87041b19b59a1f5951d40b58b6fcfb..a8a6553ab0bcaa981f044ab08bf14a815f71c9b9 100644
--- a/ui/ozone/public/surface_ozone_egl.h
+++ b/ui/ozone/public/surface_ozone_egl.h
@@ -5,8 +5,9 @@
#ifndef UI_OZONE_PUBLIC_SURFACE_OZONE_EGL_H_
#define UI_OZONE_PUBLIC_SURFACE_OZONE_EGL_H_
+#include <memory>
+
#include "base/callback.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/gfx/overlay_transform.h"
#include "ui/gfx/swap_result.h"
#include "ui/ozone/ozone_base_export.h"
@@ -68,7 +69,7 @@ class OZONE_BASE_EXPORT SurfaceOzoneEGL {
// opening a file descriptor providing vsync events) that must be done
// outside of the sandbox, they must have been completed in
// InitializeHardware. Returns an empty scoped_ptr on error.
- virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() = 0;
+ virtual std::unique_ptr<gfx::VSyncProvider> CreateVSyncProvider() = 0;
// Returns true if the surface is created on a UDL device.
virtual bool IsUniversalDisplayLinkDevice();
« no previous file with comments | « ui/ozone/public/surface_ozone_canvas.h ('k') | ui/ozone/public/system_input_injector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698