Index: tests/GrPorterDuffTest.cpp |
diff --git a/tests/GrPorterDuffTest.cpp b/tests/GrPorterDuffTest.cpp |
index 730d7bdc1e684dde84ce0df69551079307806c67..def7280eeecde05751f1c4e8aaa0f6da59f0a8d6 100644 |
--- a/tests/GrPorterDuffTest.cpp |
+++ b/tests/GrPorterDuffTest.cpp |
@@ -966,7 +966,8 @@ static void test_no_dual_source_blending(skiatest::Reporter* reporter) { |
fakeDesc.fConfig = kRGBA_8888_GrPixelConfig; |
fakeDesc.fWidth = fakeDesc.fHeight = 100; |
fakeDesc.fTextureHandle = 1; |
- SkAutoTUnref<GrTexture> fakeTexture(ctx->resourceProvider()->wrapBackendTexture(fakeDesc)); |
+ SkAutoTUnref<GrTexture> fakeTexture(ctx->resourceProvider()->wrapBackendTexture(fakeDesc, |
+ kBorrow_GrWrapOwnership)); |
GrXferProcessor::DstTexture fakeDstTexture; |
fakeDstTexture.setTexture(fakeTexture); |