summaryrefslogtreecommitdiffstats
path: root/media/video/picture.h
diff options
context:
space:
mode:
authorfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-27 20:12:15 +0000
committerfischman@chromium.org <fischman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-27 20:12:15 +0000
commit4522aace33817d513e3906ea0e2b668d90709840 (patch)
tree26f4a4cef3c8681bdb7839aeed202d57efb9cb55 /media/video/picture.h
parent7121e423bc6ce33282eeb44c8b9146cfa64fcf08 (diff)
downloadchromium_src-4522aace33817d513e3906ea0e2b668d90709840.zip
chromium_src-4522aace33817d513e3906ea0e2b668d90709840.tar.gz
chromium_src-4522aace33817d513e3906ea0e2b668d90709840.tar.bz2
Remove media::{Base,GLES,Sysmem}Buffer(const PP_{Base,GLES,SysmemBuffer}&) ctors.
Removed these pseudo-copy-constructors, since they look a lot like violations of dependency rules and since they're not necessary given the explicit constructors. BUG=none TEST=gles2.cc builds & works with this patched in. Review URL: http://codereview.chromium.org/7276005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90628 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/video/picture.h')
-rw-r--r--media/video/picture.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/media/video/picture.h b/media/video/picture.h
index e28a5c4..e0ac773 100644
--- a/media/video/picture.h
+++ b/media/video/picture.h
@@ -9,11 +9,6 @@
#include "ui/gfx/gl/gl_context.h"
#include "ui/gfx/size.h"
-struct PP_BufferInfo_Dev;
-struct PP_GLESBuffer_Dev;
-struct PP_Picture_Dev;
-struct PP_SysmemBuffer_Dev;
-
namespace media {
// Common information about GLES & Sysmem picture buffers.
@@ -21,7 +16,6 @@ namespace media {
class BaseBuffer {
public:
BaseBuffer(int32 id, gfx::Size size);
- BaseBuffer(const PP_BufferInfo_Dev& info);
virtual ~BaseBuffer();
// Returns the client-specified id of the buffer.
@@ -44,7 +38,6 @@ class BaseBuffer {
class GLESBuffer : public BaseBuffer {
public:
GLESBuffer(int32 id, gfx::Size size, uint32 texture_id);
- GLESBuffer(const PP_GLESBuffer_Dev& buffer);
// Returns the id of the texture.
// NOTE: The texture id in the renderer process corresponds to a different
@@ -62,7 +55,6 @@ class GLESBuffer : public BaseBuffer {
class SysmemBuffer : public BaseBuffer {
public:
SysmemBuffer(int32 id, gfx::Size size, void* data);
- SysmemBuffer(const PP_SysmemBuffer_Dev&);
// Returns a pointer to the buffer data.
void* data() const {
@@ -79,7 +71,6 @@ class Picture {
public:
Picture(int32 picture_buffer_id, int32 bitstream_buffer_id,
gfx::Size visible_size, gfx::Size decoded_size);
- Picture(const PP_Picture_Dev& picture);
// Returns the id of the picture buffer where this picture is contained.
int32 picture_buffer_id() const {