Chromium Code Reviews| Index: media/video/picture.h |
| diff --git a/media/video/picture.h b/media/video/picture.h |
| index f9611bd7afc8e995fe64c13bbc5f489e73301370..1c24fc8483e8b21272831a71ad934c2ab3971e7c 100644 |
| --- a/media/video/picture.h |
| +++ b/media/video/picture.h |
| @@ -93,8 +93,7 @@ class SysmemBuffer { |
| // This is the media-namespace equivalent of PP_Picture_Dev. |
| class Picture { |
| public: |
| - Picture(int32 picture_buffer_id, int32 bitstream_buffer_id, |
| - gfx::Size visible_size, gfx::Size decoded_size); |
| + Picture(int32 picture_buffer_id, int32 bitstream_buffer_id); |
| Picture(const PP_Picture_Dev& picture); |
| // Returns the id of the picture buffer where this picture is contained. |
| @@ -108,21 +107,9 @@ class Picture { |
| return bitstream_buffer_id_; |
| } |
| - // Returns the visible size of the decoded picture in pixels. |
| - gfx::Size visible_size() const { |
| - return visible_size_; |
| - } |
| - |
| - // Returns the decoded size of the decoded picture in pixels. |
| - gfx::Size decoded_size() const { |
| - return decoded_size_; |
| - } |
| - |
| private: |
| int32 picture_buffer_id_; |
| int32 bitstream_buffer_id_; |
| - gfx::Size visible_size_; |
| - gfx::Size decoded_size_; |
|
Ville-Mikko Rautio
2011/05/17 08:58:49
After removing these how do we plan to handle situ
vrk (LEFT CHROMIUM)
2011/05/23 18:20:29
If the decoded picture size changes, the decoder w
|
| }; |
| } // namespace media |