| Index: content/common/gpu/image_transport_surface_mac.cc
|
| ===================================================================
|
| --- content/common/gpu/image_transport_surface_mac.cc (revision 106500)
|
| +++ content/common/gpu/image_transport_surface_mac.cc (working copy)
|
| @@ -43,6 +43,7 @@
|
| virtual void OnNewSurfaceACK(uint64 surface_id,
|
| TransportDIB::Handle shm_handle) OVERRIDE;
|
| virtual void OnBuffersSwappedACK() OVERRIDE;
|
| + virtual void OnResizeViewACK() OVERRIDE;
|
| virtual void OnResize(gfx::Size size) OVERRIDE;
|
|
|
| private:
|
| @@ -94,6 +95,7 @@
|
| virtual void OnBuffersSwappedACK() OVERRIDE;
|
| virtual void OnNewSurfaceACK(uint64 surface_id,
|
| TransportDIB::Handle shm_handle) OVERRIDE;
|
| + virtual void OnResizeViewACK() OVERRIDE;
|
| virtual void OnResize(gfx::Size size) OVERRIDE;
|
|
|
| private:
|
| @@ -239,6 +241,9 @@
|
| helper_->SetScheduled(true);
|
| }
|
|
|
| +void IOSurfaceImageTransportSurface::OnResizeViewACK() {
|
| +}
|
| +
|
| void IOSurfaceImageTransportSurface::OnResize(gfx::Size size) {
|
| IOSurfaceSupport* io_surface_support = IOSurfaceSupport::Initialize();
|
|
|
| @@ -443,6 +448,9 @@
|
| DCHECK_NE(shared_mem_.get(), static_cast<void*>(NULL));
|
| }
|
|
|
| +void TransportDIBImageTransportSurface::OnResizeViewACK() {
|
| +}
|
| +
|
| void TransportDIBImageTransportSurface::OnResize(gfx::Size size) {
|
| size_ = size;
|
|
|
|
|