Chromium Code Reviews| Index: ui/gl/gl_image_shm.h |
| diff --git a/ui/gl/gl_image_shm.h b/ui/gl/gl_image_shm.h |
| index 70233f9a3be9960f2ff3a6990a3a146316ba67dd..67a952d8ed453b559974db2aace6d6f053afe634 100644 |
| --- a/ui/gl/gl_image_shm.h |
| +++ b/ui/gl/gl_image_shm.h |
| @@ -12,7 +12,7 @@ namespace gfx { |
| class GL_EXPORT GLImageShm : public GLImage { |
| public: |
| - explicit GLImageShm(gfx::Size size); |
| + GLImageShm(const gfx::Size& size, unsigned internalformat); |
|
piman
2013/08/13 00:38:24
nit: I think the consensus is to pass structs with
reveman
2013/08/13 01:48:26
Latest patch pass |size| by value.
|
| bool Initialize(gfx::GpuMemoryBufferHandle buffer); |
| @@ -28,6 +28,7 @@ class GL_EXPORT GLImageShm : public GLImage { |
| private: |
| scoped_ptr<base::SharedMemory> shared_memory_; |
| gfx::Size size_; |
| + unsigned internalformat_; |
| DISALLOW_COPY_AND_ASSIGN(GLImageShm); |
| }; |