Index: gpu/ipc/service/image_transport_surface_win.cc |
diff --git a/gpu/ipc/service/image_transport_surface_win.cc b/gpu/ipc/service/image_transport_surface_win.cc |
index 818e7c81d3fd86ee481c5fd0543848b47e02c4d1..7cc4454c818e0c3be49e24a8cb145d493ba250bf 100644 |
--- a/gpu/ipc/service/image_transport_surface_win.cc |
+++ b/gpu/ipc/service/image_transport_surface_win.cc |
@@ -4,6 +4,8 @@ |
#include "gpu/ipc/service/image_transport_surface.h" |
+#include <memory> |
+ |
#include "gpu/ipc/service/child_window_surface_win.h" |
#include "gpu/ipc/service/pass_through_image_transport_surface.h" |
#include "ui/gfx/native_widget_types.h" |
@@ -30,7 +32,7 @@ scoped_refptr<gfx::GLSurface> ImageTransportSurface::CreateNativeSurface( |
surface = egl_surface; |
// TODO(jbauman): Get frame statistics from DirectComposition |
- scoped_ptr<gfx::VSyncProvider> vsync_provider( |
+ std::unique_ptr<gfx::VSyncProvider> vsync_provider( |
new gfx::VSyncProviderWin(surface_handle)); |
if (!egl_surface->Initialize(std::move(vsync_provider))) |
return nullptr; |