| Index: cc/texture_layer_impl.h
|
| diff --git a/cc/texture_layer_impl.h b/cc/texture_layer_impl.h
|
| index 7e434e44f1163fc81420f04baa34a6c5d086b360..d6dbe7997697c4c96203f61077caab26800a18ef 100644
|
| --- a/cc/texture_layer_impl.h
|
| +++ b/cc/texture_layer_impl.h
|
| @@ -33,7 +33,8 @@ public:
|
| void setTextureId(unsigned id) { m_textureId = id; }
|
| void setPremultipliedAlpha(bool premultipliedAlpha) { m_premultipliedAlpha = premultipliedAlpha; }
|
| void setFlipped(bool flipped) { m_flipped = flipped; }
|
| - void setUVRect(const gfx::RectF& rect) { m_uvRect = rect; }
|
| + void setUVTopLeft(const gfx::PointF& topLeft) { m_uvTopLeft = topLeft; }
|
| + void setUVBottomRight(const gfx::PointF& bottomRight) { m_uvBottomRight = bottomRight; }
|
|
|
| // 1--2
|
| // | |
|
| @@ -51,7 +52,8 @@ private:
|
| ResourceProvider::ResourceId m_externalTextureResource;
|
| bool m_premultipliedAlpha;
|
| bool m_flipped;
|
| - gfx::RectF m_uvRect;
|
| + gfx::PointF m_uvTopLeft;
|
| + gfx::PointF m_uvBottomRight;
|
| float m_vertexOpacity[4];
|
|
|
| bool m_hasPendingMailbox;
|
|
|