Index: media/video/picture.h |
diff --git a/media/video/picture.h b/media/video/picture.h |
index 844e629ef310f6a187a38f47507d16e0765cbfa2..d5be2276f2be78ad037bfd045798ebd7f629defb 100644 |
--- a/media/video/picture.h |
+++ b/media/video/picture.h |
@@ -8,7 +8,6 @@ |
#include "base/basictypes.h" |
#include "gpu/command_buffer/common/mailbox.h" |
#include "media/base/media_export.h" |
-#include "ui/gfx/geometry/rect.h" |
#include "ui/gfx/size.h" |
namespace media { |
@@ -55,9 +54,7 @@ |
// This is the media-namespace equivalent of PP_Picture_Dev. |
class MEDIA_EXPORT Picture { |
public: |
- Picture(int32 picture_buffer_id, |
- int32 bitstream_buffer_id, |
- const gfx::Rect& visible_rect); |
+ Picture(int32 picture_buffer_id, int32 bitstream_buffer_id); |
// Returns the id of the picture buffer where this picture is contained. |
int32 picture_buffer_id() const { |
@@ -73,15 +70,9 @@ |
bitstream_buffer_id_ = bitstream_buffer_id; |
} |
- // Returns the visible rectangle of the picture. Its size may be smaller |
- // than the size of the PictureBuffer, as it is the only visible part of the |
- // Picture contained in the PictureBuffer. |
- gfx::Rect visible_rect() const { return visible_rect_; } |
- |
private: |
int32 picture_buffer_id_; |
int32 bitstream_buffer_id_; |
- gfx::Rect visible_rect_; |
}; |
} // namespace media |