Index: media/filters/gpu_video_accelerator_factories.h |
diff --git a/media/filters/gpu_video_accelerator_factories.h b/media/filters/gpu_video_accelerator_factories.h |
index 18daa30e997c604eff28b136de7a7ebbbda53008..4d0acd81baa75bb38d6463442336f73e3bb1c34f 100644 |
--- a/media/filters/gpu_video_accelerator_factories.h |
+++ b/media/filters/gpu_video_accelerator_factories.h |
@@ -11,6 +11,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "gpu/command_buffer/common/mailbox.h" |
#include "media/base/video_decoder_config.h" |
+#include "media/base/video_frame.h" |
namespace base { |
class SingleThreadTaskRunner; |
@@ -56,10 +57,10 @@ class MEDIA_EXPORT GpuVideoAcceleratorFactories |
virtual void WaitSyncPoint(uint32 sync_point) = 0; |
- // Read pixels within |visible_rect| boundaries from a native texture and |
+ // Read pixels within |video_frame| boundaries from a native texture and |
// store into |pixels| as RGBA. |
virtual void ReadPixels(uint32 texture_id, |
- const gfx::Rect& visible_rect, |
+ const scoped_refptr<VideoFrame>& video_frame, |
const SkBitmap& pixels) = 0; |
// Allocate & return a shared memory segment. Caller is responsible for |