Index: tests/ResourceCacheTest.cpp |
diff --git a/tests/ResourceCacheTest.cpp b/tests/ResourceCacheTest.cpp |
index 9a4a129c7f31f4cc7367dbcad85010b47768e006..f9f94d1b274322eb35acd4806850855d4f44a7fc 100644 |
--- a/tests/ResourceCacheTest.cpp |
+++ b/tests/ResourceCacheTest.cpp |
@@ -298,7 +298,7 @@ DEF_GPUTEST(ResourceCache, reporter, factory) { |
desc.fWidth = gWidth; |
desc.fHeight = gHeight; |
SkImageInfo info = SkImageInfo::MakeN32Premul(gWidth, gHeight); |
- SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(context, info, 0)); |
+ SkAutoTUnref<SkSurface> surface(SkSurface::NewRenderTarget(context, info)); |
test_cache(reporter, context, surface->getCanvas()); |
test_purge_invalidated(reporter, context); |