| Index: ui/compositor/compositor.h
|
| diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
|
| index 10f8efcab6fb67f5283fc757076654a060d97308..20231657341cfc7fa24a60a054c597f63a0c8834 100644
|
| --- a/ui/compositor/compositor.h
|
| +++ b/ui/compositor/compositor.h
|
| @@ -104,14 +104,17 @@ class COMPOSITOR_EXPORT Texture : public base::RefCounted<Texture> {
|
| virtual unsigned int PrepareTexture() = 0;
|
| virtual WebKit::WebGraphicsContext3D* HostContext3D() = 0;
|
|
|
| + virtual void Consume(const gfx::Size& new_size) {}
|
| + virtual void Produce() {}
|
| +
|
| protected:
|
| virtual ~Texture();
|
| + gfx::Size size_; // in pixel
|
|
|
| private:
|
| friend class base::RefCounted<Texture>;
|
|
|
| bool flipped_;
|
| - gfx::Size size_; // in pixel
|
| float device_scale_factor_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(Texture);
|
|
|