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_; } |
+ |
protected: |
explicit TextureGL(const gfx::Size& size); |
virtual ~TextureGL(); |