| Index: cc/CCTileDrawQuad.h
|
| diff --git a/cc/CCTileDrawQuad.h b/cc/CCTileDrawQuad.h
|
| index 21a98cfb864a41b095fd9b8aba439ffb86945c14..fb1afeedf252b950b40530983396ae4265af93ed 100644
|
| --- a/cc/CCTileDrawQuad.h
|
| +++ b/cc/CCTileDrawQuad.h
|
| @@ -7,9 +7,9 @@
|
|
|
| #include "CCDrawQuad.h"
|
| #include "GraphicsTypes3D.h"
|
| -#include "IntPoint.h"
|
| -#include "IntSize.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include <public/WebPoint.h>
|
| +#include <public/WebSize.h>
|
|
|
| namespace cc {
|
|
|
| @@ -17,11 +17,11 @@ namespace cc {
|
|
|
| class CCTileDrawQuad : public CCDrawQuad {
|
| 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<CCTileDrawQuad> create(const CCSharedQuadState*, const WebKit::WebRect& quadRect, const WebKit::WebRect& opaqueRect, unsigned resourceId, const WebKit::WebPoint& textureOffset, const WebKit::WebSize& 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; }
|
| - IntSize textureSize() const { return m_textureSize; }
|
| + WebKit::WebPoint textureOffset() const { return m_textureOffset; }
|
| + WebKit::WebSize textureSize() const { return m_textureSize; }
|
| GC3Dint textureFilter() const { return m_textureFilter; }
|
| bool swizzleContents() const { return m_swizzleContents; }
|
|
|
| @@ -34,11 +34,11 @@ public:
|
|
|
| static const CCTileDrawQuad* materialCast(const CCDrawQuad*);
|
| 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);
|
| + CCTileDrawQuad(const CCSharedQuadState*, const WebKit::WebRect& quadRect, const WebKit::WebRect& opaqueRect, unsigned resourceId, const WebKit::WebPoint& textureOffset, const WebKit::WebSize& textureSize, GC3Dint textureFilter, bool swizzleContents, bool leftEdgeAA, bool topEdgeAA, bool rightEdgeAA, bool bottomEdgeAA);
|
|
|
| unsigned m_resourceId;
|
| - IntPoint m_textureOffset;
|
| - IntSize m_textureSize;
|
| + WebKit::WebPoint m_textureOffset;
|
| + WebKit::WebSize m_textureSize;
|
| GC3Dint m_textureFilter;
|
| bool m_swizzleContents;
|
| bool m_leftEdgeAA;
|
|
|