Index: content/common/gpu/image_transport_surface_mac.cc |
diff --git a/content/common/gpu/image_transport_surface_mac.cc b/content/common/gpu/image_transport_surface_mac.cc |
index ed9a4aa81e83fd00f4e106cedfc58bc434990df5..6f05d22d2444430d988290fe9ec90d0d9f1d80ea 100644 |
--- a/content/common/gpu/image_transport_surface_mac.cc |
+++ b/content/common/gpu/image_transport_surface_mac.cc |
@@ -46,6 +46,7 @@ class IOSurfaceImageTransportSurface : public gfx::NoOpGLSurfaceCGL, |
virtual void OnBuffersSwappedACK() OVERRIDE; |
virtual void OnPostSubBufferACK() OVERRIDE; |
virtual void OnResizeViewACK() OVERRIDE; |
+ virtual void OnDiscardSurface(uint64 surface_id) OVERRIDE; |
virtual void OnResize(gfx::Size size) OVERRIDE; |
private: |
@@ -239,6 +240,9 @@ void IOSurfaceImageTransportSurface::OnResizeViewACK() { |
NOTREACHED(); |
} |
+void IOSurfaceImageTransportSurface::OnDiscardSurface(uint64 surface_id) { |
+} |
+ |
void IOSurfaceImageTransportSurface::OnResize(gfx::Size size) { |
// Caching |context_| from OnMakeCurrent. It should still be current. |
DCHECK(context_->IsCurrent(this)); |