| Index: gpu/ipc/service/image_transport_surface.h
|
| diff --git a/gpu/ipc/service/image_transport_surface.h b/gpu/ipc/service/image_transport_surface.h
|
| index de5993248efb38c4d867b052366c318beda98b92..972e56131560a452e63b9cf862d7e27e835c93a2 100644
|
| --- a/gpu/ipc/service/image_transport_surface.h
|
| +++ b/gpu/ipc/service/image_transport_surface.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/compiler_specific.h"
|
| #include "base/macros.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "build/build_config.h"
|
| #include "gpu/gpu_export.h"
|
| #include "gpu/ipc/common/surface_handle.h"
|
| @@ -16,7 +17,7 @@
|
|
|
| namespace gpu {
|
| class GpuChannelManager;
|
| -class GpuCommandBufferStub;
|
| +class ImageTransportSurfaceDelegate;
|
|
|
| // The GPU process is agnostic as to how it displays results. On some platforms
|
| // it renders directly to window. On others it renders offscreen and transports
|
| @@ -34,7 +35,7 @@ class ImageTransportSurface {
|
| // scoped_refptr should be returned.
|
| static scoped_refptr<gl::GLSurface> CreateNativeSurface(
|
| GpuChannelManager* manager,
|
| - GpuCommandBufferStub* stub,
|
| + base::WeakPtr<ImageTransportSurfaceDelegate> stub,
|
| SurfaceHandle surface_handle,
|
| gl::GLSurface::Format format);
|
|
|
|
|