Index: content/common/gpu/image_transport_surface_linux.cc |
diff --git a/content/common/gpu/image_transport_surface_linux.cc b/content/common/gpu/image_transport_surface_linux.cc |
index 0f9984f4867f48e427882e5efe8b5c13ca3eff1d..90a0881f3f1184856704144e5c19e368b418ae68 100644 |
--- a/content/common/gpu/image_transport_surface_linux.cc |
+++ b/content/common/gpu/image_transport_surface_linux.cc |
@@ -103,6 +103,7 @@ class EGLImageTransportSurface |
virtual void OnBuffersSwappedACK() OVERRIDE; |
virtual void OnPostSubBufferACK() OVERRIDE; |
virtual void OnResizeViewACK() OVERRIDE; |
+ virtual void OnSetFrontSurfaceIsProtected(bool is_protected) OVERRIDE; |
virtual void OnResize(gfx::Size size) OVERRIDE; |
private: |
@@ -160,6 +161,7 @@ class GLXImageTransportSurface |
virtual void OnBuffersSwappedACK() OVERRIDE; |
virtual void OnPostSubBufferACK() OVERRIDE; |
virtual void OnResizeViewACK() OVERRIDE; |
+ virtual void OnSetFrontSurfaceIsProtected(bool is_protected) OVERRIDE; |
virtual void OnResize(gfx::Size size) OVERRIDE; |
private: |
@@ -219,6 +221,7 @@ class OSMesaImageTransportSurface : public ImageTransportSurface, |
virtual void OnBuffersSwappedACK() OVERRIDE; |
virtual void OnPostSubBufferACK() OVERRIDE; |
virtual void OnResizeViewACK() OVERRIDE; |
+ virtual void OnSetFrontSurfaceIsProtected(bool is_protected) OVERRIDE; |
virtual void OnResize(gfx::Size size) OVERRIDE; |
private: |
@@ -519,6 +522,10 @@ void EGLImageTransportSurface::OnNewSurfaceACK( |
helper_->SetScheduled(true); |
} |
+void EGLImageTransportSurface::OnSetFrontSurfaceIsProtected( |
+ bool is_protected) { |
+} |
+ |
void EGLImageTransportSurface::OnBuffersSwappedACK() { |
helper_->SetScheduled(true); |
} |
@@ -760,6 +767,10 @@ void GLXImageTransportSurface::OnNewSurfaceACK( |
uint64 surface_handle, TransportDIB::Handle /*shm_handle*/) { |
} |
+void GLXImageTransportSurface::OnSetFrontSurfaceIsProtected( |
+ bool is_protected) { |
+} |
+ |
void GLXImageTransportSurface::OnBuffersSwappedACK() { |
helper_->SetScheduled(true); |
} |
@@ -846,6 +857,10 @@ void OSMesaImageTransportSurface::OnNewSurfaceACK( |
helper_->SetScheduled(true); |
} |
+void OSMesaImageTransportSurface::OnSetFrontSurfaceIsProtected( |
+ bool is_protected) { |
+} |
+ |
void OSMesaImageTransportSurface::OnResizeViewACK() { |
NOTREACHED(); |
} |