Index: content/common/gpu/image_transport_surface.h |
diff --git a/content/common/gpu/image_transport_surface.h b/content/common/gpu/image_transport_surface.h |
index 33c33d3d8488d6d3553c8c115d23e0c0f595e94e..0bc4bcc8f8cbd302fee0d19383c770cdea319488 100644 |
--- a/content/common/gpu/image_transport_surface.h |
+++ b/content/common/gpu/image_transport_surface.h |
@@ -71,6 +71,8 @@ class ImageTransportSurface { |
GpuCommandBufferStub* stub, |
const gfx::GLSurfaceHandle& handle); |
+ virtual gfx::Size GetSize() = 0; |
+ |
protected: |
// Used by certain implements of PostSubBuffer to determine |
// how much needs to be copied between frames. |
@@ -177,6 +179,7 @@ class PassThroughImageTransportSurface |
virtual void OnBufferPresented(uint32 sync_point) OVERRIDE; |
virtual void OnResizeViewACK() OVERRIDE; |
virtual void OnResize(gfx::Size size) OVERRIDE; |
+ virtual gfx::Size GetSize() OVERRIDE; |
protected: |
virtual ~PassThroughImageTransportSurface(); |