| Index: cc/tile_draw_quad.h
|
| diff --git a/cc/tile_draw_quad.h b/cc/tile_draw_quad.h
|
| index 21a98cfb864a41b095fd9b8aba439ffb86945c14..40dce6aacba928cbe60f218f4e93cff3680c7980 100644
|
| --- a/cc/tile_draw_quad.h
|
| +++ b/cc/tile_draw_quad.h
|
| @@ -15,9 +15,9 @@ namespace cc {
|
|
|
| #pragma pack(push, 4)
|
|
|
| -class CCTileDrawQuad : public CCDrawQuad {
|
| +class TileDrawQuad : public DrawQuad {
|
| public:
|
| - static scoped_ptr<CCTileDrawQuad> create(const CCSharedQuadState*, const IntRect& quadRect, const IntRect& opaqueRect, unsigned resourceId, const IntPoint& textureOffset, const IntSize& textureSize, GC3Dint textureFilter, bool swizzleContents, bool leftEdgeAA, bool topEdgeAA, bool rightEdgeAA, bool bottomEdgeAA);
|
| + static scoped_ptr<TileDrawQuad> create(const SharedQuadState*, const IntRect& quadRect, const IntRect& opaqueRect, unsigned resourceId, const IntPoint& textureOffset, const IntSize& textureSize, GC3Dint textureFilter, bool swizzleContents, bool leftEdgeAA, bool topEdgeAA, bool rightEdgeAA, bool bottomEdgeAA);
|
|
|
| unsigned resourceId() const { return m_resourceId; }
|
| IntPoint textureOffset() const { return m_textureOffset; }
|
| @@ -32,9 +32,9 @@ public:
|
|
|
| bool isAntialiased() const { return leftEdgeAA() || topEdgeAA() || rightEdgeAA() || bottomEdgeAA(); }
|
|
|
| - static const CCTileDrawQuad* materialCast(const CCDrawQuad*);
|
| + static const TileDrawQuad* materialCast(const DrawQuad*);
|
| private:
|
| - CCTileDrawQuad(const CCSharedQuadState*, const IntRect& quadRect, const IntRect& opaqueRect, unsigned resourceId, const IntPoint& textureOffset, const IntSize& textureSize, GC3Dint textureFilter, bool swizzleContents, bool leftEdgeAA, bool topEdgeAA, bool rightEdgeAA, bool bottomEdgeAA);
|
| + TileDrawQuad(const SharedQuadState*, const IntRect& quadRect, const IntRect& opaqueRect, unsigned resourceId, const IntPoint& textureOffset, const IntSize& textureSize, GC3Dint textureFilter, bool swizzleContents, bool leftEdgeAA, bool topEdgeAA, bool rightEdgeAA, bool bottomEdgeAA);
|
|
|
| unsigned m_resourceId;
|
| IntPoint m_textureOffset;
|
|
|