Chromium Code Reviews| Index: media/gpu/vp9_picture.h |
| diff --git a/media/gpu/vp9_picture.h b/media/gpu/vp9_picture.h |
| index 7c026fa2ea91b1c72d9014dba623a61da5bd8230..5b774ce062b9b028f65b9e3f44ff12425d8290fd 100644 |
| --- a/media/gpu/vp9_picture.h |
| +++ b/media/gpu/vp9_picture.h |
| @@ -10,6 +10,7 @@ |
| #include "base/macros.h" |
| #include "base/memory/ref_counted.h" |
| #include "media/filters/vp9_parser.h" |
| +#include "ui/gfx/geometry/rect.h" |
| namespace media { |
| @@ -25,6 +26,11 @@ class VP9Picture : public base::RefCounted<VP9Picture> { |
| std::unique_ptr<Vp9FrameHeader> frame_hdr; |
| + // The visible size of picture. This could be either parsed from frame |
| + // header, or set to gfx::Rect(0, 0) for indicating the client using the |
|
Owen Lin
2017/06/13 03:00:14
nit: I think we don't need to explain what to do i
johnylin1
2017/06/14 14:11:22
Done.
|
| + // visible size extracted from the container instead. |
| + gfx::Rect visible_rect; |
| + |
| protected: |
| friend class base::RefCounted<VP9Picture>; |
| virtual ~VP9Picture(); |