Index: tests/DeferredCanvasTest.cpp |
diff --git a/tests/DeferredCanvasTest.cpp b/tests/DeferredCanvasTest.cpp |
index d234c8ca27fa490480b772c1a05c8f6335d13b08..2938326aba5c42a1b9b4d5b82075008b65143d04 100644 |
--- a/tests/DeferredCanvasTest.cpp |
+++ b/tests/DeferredCanvasTest.cpp |
@@ -51,7 +51,7 @@ |
class MockSurface : public SkSurface_Base { |
public: |
- MockSurface(int width, int height) : SkSurface_Base(width, height, NULL) { |
+ MockSurface(int width, int height) : SkSurface_Base(width, height) { |
clearCounts(); |
fBitmap.allocN32Pixels(width, height); |
} |
@@ -706,7 +706,7 @@ |
return; |
} |
- surface = SkSurface::NewRenderTarget(context, imageSpec, 0, NULL); |
+ surface = SkSurface::NewRenderTarget(context, imageSpec); |
} else |
#endif |
{ |
@@ -788,8 +788,8 @@ |
if (NULL == context) { |
continue; |
} |
- surface = SkSurface::NewRenderTarget(context, imageSpec, 0, NULL); |
- alternateSurface = SkSurface::NewRenderTarget(context, imageSpec, 0, NULL); |
+ surface = SkSurface::NewRenderTarget(context, imageSpec); |
+ alternateSurface = SkSurface::NewRenderTarget(context, imageSpec); |
} else |
#endif |
{ |