Index: content/common/gpu/image_transport_surface_win.cc |
diff --git a/content/common/gpu/image_transport_surface_win.cc b/content/common/gpu/image_transport_surface_win.cc |
index cc6dc879879434d3a8b5b1eaa3283e42e4b2453e..78e090ae83d58b469afb0f2338a841b3485a1ecf 100644 |
--- a/content/common/gpu/image_transport_surface_win.cc |
+++ b/content/common/gpu/image_transport_surface_win.cc |
@@ -51,6 +51,7 @@ class PbufferImageTransportSurface |
virtual void OnBufferPresented(uint32 sync_point) OVERRIDE; |
virtual void OnResizeViewACK() OVERRIDE; |
virtual void OnResize(gfx::Size size) OVERRIDE; |
+ virtual gfx::Size GetSize() OVERRIDE; |
private: |
virtual ~PbufferImageTransportSurface(); |
@@ -230,6 +231,10 @@ void PbufferImageTransportSurface::OnResize(gfx::Size size) { |
visible_size_ = size; |
} |
+gfx::Size PbufferImageTransportSurface::GetSize() { |
+ return GLSurfaceAdapter::GetSize(); |
+} |
+ |
} // namespace anonymous |
// static |