| Index: content/renderer/media/renderer_gpu_video_decoder_factories.h
|
| diff --git a/content/renderer/media/renderer_gpu_video_decoder_factories.h b/content/renderer/media/renderer_gpu_video_decoder_factories.h
|
| index e05dd9af9ff78f0e9f02d9d6f22efbf014637acd..9f31586641db5772288c9b04fa2f3e979ec9a552 100644
|
| --- a/content/renderer/media/renderer_gpu_video_decoder_factories.h
|
| +++ b/content/renderer/media/renderer_gpu_video_decoder_factories.h
|
| @@ -31,9 +31,10 @@ class WebGraphicsContext3DCommandBufferImpl;
|
| //
|
| // The public methods of the class can be called from any thread, and are
|
| // internally trampolined to the appropriate thread. GPU/GL-related calls go to
|
| -// the constructor-argument loop (mostly that's the compositor thread, or the
|
| -// renderer thread if threaded compositing is disabled), and shmem-related calls
|
| -// go to the render thread.
|
| +// the constructor-argument loop. Typically this is the compositor thread,
|
| +// unless threaded-compositing is disabled, when it'll be the renderer thread,
|
| +// or a special-purpose thread e.g. for WebRTC. shmem-related calls go to the
|
| +// render thread.
|
| class CONTENT_EXPORT RendererGpuVideoDecoderFactories
|
| : public media::GpuVideoDecoder::Factories {
|
| public:
|
| @@ -61,6 +62,9 @@ class CONTENT_EXPORT RendererGpuVideoDecoderFactories
|
| virtual void Abort() OVERRIDE;
|
| virtual bool IsAborted() OVERRIDE;
|
|
|
| + // Makes a copy of |this|.
|
| + scoped_refptr<RendererGpuVideoDecoderFactories> Clone();
|
| +
|
| protected:
|
| friend class base::RefCountedThreadSafe<RendererGpuVideoDecoderFactories>;
|
| virtual ~RendererGpuVideoDecoderFactories();
|
|
|