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

Unified Diff: ui/ozone/public/surface_ozone_canvas.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_factory_ozone.cc ('k') | ui/ozone/public/surface_ozone_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/surface_ozone_canvas.h
diff --git a/ui/ozone/public/surface_ozone_canvas.h b/ui/ozone/public/surface_ozone_canvas.h
index 31bada38f706c7b759163c3cd02c008d424509f0..155a8100275775e4815bf0bfbe878190ce010e5c 100644
--- a/ui/ozone/public/surface_ozone_canvas.h
+++ b/ui/ozone/public/surface_ozone_canvas.h
@@ -5,7 +5,8 @@
#ifndef UI_OZONE_PUBLIC_SURFACE_OZONE_CANVAS_H_
#define UI_OZONE_PUBLIC_SURFACE_OZONE_CANVAS_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "skia/ext/refptr.h"
#include "ui/ozone/ozone_base_export.h"
@@ -47,7 +48,7 @@ class OZONE_BASE_EXPORT SurfaceOzoneCanvas {
// 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;
};
} // namespace ui
« no previous file with comments | « ui/ozone/public/surface_factory_ozone.cc ('k') | ui/ozone/public/surface_ozone_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698