| Index: tests/SurfaceTest.cpp
|
| diff --git a/tests/SurfaceTest.cpp b/tests/SurfaceTest.cpp
|
| index 7449f211b560c1066667735a84d870341aed61d2..8166bba9bd531ea7a67dbfdc349fe86258a4119d 100644
|
| --- a/tests/SurfaceTest.cpp
|
| +++ b/tests/SurfaceTest.cpp
|
| @@ -439,9 +439,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(UniqueImageSnapshot_Gpu, reporter, context) {
|
| {
|
| SkAutoTUnref<SkSurface> surface(
|
| SkSurface::NewRenderTargetDirect(texture->asRenderTarget()));
|
| - // We should be able to pass true here, but disallowing copy on write for direct GPU
|
| - // surfaces is not yet implemented.
|
| - test_unique_image_snap(reporter, surface, false, imageBackingStore,
|
| + test_unique_image_snap(reporter, surface, true, imageBackingStore,
|
| surfaceBackingStore);
|
| }
|
| texture->unref();
|
|
|