Index: cc/CCTileDrawQuad.cpp |
diff --git a/cc/CCTileDrawQuad.cpp b/cc/CCTileDrawQuad.cpp |
index e317cf871cbdc9b39a85de61a64a00f1f0e272f7..a5ac33dbeb04af8f274d30c6ca3339fbbd6c8cf1 100644 |
--- a/cc/CCTileDrawQuad.cpp |
+++ b/cc/CCTileDrawQuad.cpp |
@@ -10,7 +10,7 @@ namespace cc { |
scoped_ptr<CCTileDrawQuad> CCTileDrawQuad::create(const CCSharedQuadState* 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) |
{ |
- return scoped_ptr<CCTileDrawQuad>(new CCTileDrawQuad(sharedQuadState, quadRect, opaqueRect, resourceId, textureOffset, textureSize, textureFilter, swizzleContents, leftEdgeAA, topEdgeAA, rightEdgeAA, bottomEdgeAA)); |
+ return make_scoped_ptr(new CCTileDrawQuad(sharedQuadState, quadRect, opaqueRect, resourceId, textureOffset, textureSize, textureFilter, swizzleContents, leftEdgeAA, topEdgeAA, rightEdgeAA, bottomEdgeAA)); |
} |
CCTileDrawQuad::CCTileDrawQuad(const CCSharedQuadState* 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) |