Index: content/common/gpu/media/android_copying_backing_strategy.h |
diff --git a/content/common/gpu/media/android_copying_backing_strategy.h b/content/common/gpu/media/android_copying_backing_strategy.h |
index 4cb1f622a5a30f1f2c46eddd1e17f6a8a4de9a75..15be76d8be7324a393e9219d00fc3aa02b330f5e 100644 |
--- a/content/common/gpu/media/android_copying_backing_strategy.h |
+++ b/content/common/gpu/media/android_copying_backing_strategy.h |
@@ -32,7 +32,6 @@ class CONTENT_EXPORT AndroidCopyingBackingStrategy |
// AndroidVideoDecodeAccelerator::BackingStrategy |
void Initialize(AVDAStateProvider*) override; |
void Cleanup(const AndroidVideoDecodeAccelerator::OutputBufferMap&) override; |
- uint32 GetNumPictureBuffers() const override; |
uint32 GetTextureTarget() const override; |
scoped_refptr<gfx::SurfaceTexture> CreateSurfaceTexture() override; |
void UseCodecBufferForPictureBuffer(int32 codec_buffer_index, |
@@ -41,6 +40,11 @@ class CONTENT_EXPORT AndroidCopyingBackingStrategy |
media::VideoCodecBridge*, |
const AndroidVideoDecodeAccelerator::OutputBufferMap&) override; |
+ static media::VideoDecodeAccelerator::Capabilities::Flags |
+ GetCapabilitiesFlags() { |
+ return media::VideoDecodeAccelerator::Capabilities::NO_FLAGS; |
+ } |
+ |
private: |
// Used for copy the texture from surface texture to picture buffers. |
scoped_ptr<gpu::CopyTextureCHROMIUMResourceManager> copier_; |