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

Unified Diff: ui/ozone/platform/wayland/wayland_egl_surface.h

Issue 1917053003: unique_ptr_migration: clean up references to scoped_ptr as of r389721 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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/message_center/cocoa/popup_collection.h ('k') | ui/ozone/platform/wayland/wayland_egl_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/wayland/wayland_egl_surface.h
diff --git a/ui/ozone/platform/wayland/wayland_egl_surface.h b/ui/ozone/platform/wayland/wayland_egl_surface.h
index c36b949a46add89a14f25c4c0628a762b024c38c..d6d80900b7e76b0b5d5c89df8fcfbb975e80c115 100644
--- a/ui/ozone/platform/wayland/wayland_egl_surface.h
+++ b/ui/ozone/platform/wayland/wayland_egl_surface.h
@@ -5,6 +5,8 @@
#ifndef UI_OZONE_PLATFORM_WAYLAND_WAYLAND_EGL_SURFACE_H_
#define UI_OZONE_PLATFORM_WAYLAND_WAYLAND_EGL_SURFACE_H_
+#include <memory>
+
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/vsync_provider.h"
#include "ui/ozone/public/surface_ozone_egl.h"
@@ -31,7 +33,7 @@ class WaylandEGLSurface : public SurfaceOzoneEGL {
bool ResizeNativeWindow(const gfx::Size& viewport_size) override;
bool OnSwapBuffers() override;
void OnSwapBuffersAsync(const SwapCompletionCallback& callback) override;
- scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() override;
+ std::unique_ptr<gfx::VSyncProvider> CreateVSyncProvider() override;
void* /* EGLConfig */ GetEGLSurfaceConfig(
const EglConfigCallbacks& egl) override;
@@ -39,7 +41,7 @@ class WaylandEGLSurface : public SurfaceOzoneEGL {
WaylandWindow* window_;
gfx::Size size_;
- scoped_ptr<wl_egl_window, EGLWindowDeleter> egl_window_;
+ std::unique_ptr<wl_egl_window, EGLWindowDeleter> egl_window_;
DISALLOW_COPY_AND_ASSIGN(WaylandEGLSurface);
};
« no previous file with comments | « ui/message_center/cocoa/popup_collection.h ('k') | ui/ozone/platform/wayland/wayland_egl_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698