Index: tests/GrSurfaceTest.cpp |
diff --git a/tests/GrSurfaceTest.cpp b/tests/GrSurfaceTest.cpp |
index 685bf4187461f352c6bdca227f0e78326393ff6e..b9bb3192109714cbc9ee29bcaf9789a8916badb7 100644 |
--- a/tests/GrSurfaceTest.cpp |
+++ b/tests/GrSurfaceTest.cpp |
@@ -51,7 +51,8 @@ DEF_GPUTEST(GrSurface, reporter, factory) { |
backendDesc.fHeight = 256; |
backendDesc.fSampleCnt = 0; |
backendDesc.fTextureHandle = 5; |
- GrSurface* texRT2 = context->textureProvider()->wrapBackendTexture(backendDesc); |
+ GrSurface* texRT2 = context->textureProvider()->wrapBackendTexture( |
+ backendDesc, kBorrow_GrWrapOwnership); |
REPORTER_ASSERT(reporter, texRT2 == texRT2->asRenderTarget()); |
REPORTER_ASSERT(reporter, texRT2 == texRT2->asTexture()); |
REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT2->asRenderTarget()) == |