Chromium Code Reviews| Index: ui/gfx/compositor/compositor_gl.h |
| diff --git a/ui/gfx/compositor/compositor_gl.h b/ui/gfx/compositor/compositor_gl.h |
| index c4ef2753956cea8d88d1afe202b3f9ad0570e63d..ec55ae4433d59e55b15588e935d7e45c53c35f87 100644 |
| --- a/ui/gfx/compositor/compositor_gl.h |
| +++ b/ui/gfx/compositor/compositor_gl.h |
| @@ -77,6 +77,8 @@ class COMPOSITOR_EXPORT TextureGL : public Texture { |
| virtual void Draw(const ui::TextureDrawParams& params, |
| const gfx::Rect& clip_bounds_in_texture) OVERRIDE; |
| + const gfx::Size& size() const { return size_; } |
|
sky
2011/12/08 17:39:05
Is this needed?
jonathan.backer
2011/12/08 18:41:44
Is now. I've got rid of the conditional compile in
|
| + |
| protected: |
| explicit TextureGL(const gfx::Size& size); |
| virtual ~TextureGL(); |