Index: src/gpu/GrSurfaceProxy.cpp |
diff --git a/src/gpu/GrSurfaceProxy.cpp b/src/gpu/GrSurfaceProxy.cpp |
index 831cd3213c31f69e018e8a9fb7232806735396f5..9de41ef48264ca13908990e33b300fcce4ffe6f0 100644 |
--- a/src/gpu/GrSurfaceProxy.cpp |
+++ b/src/gpu/GrSurfaceProxy.cpp |
@@ -43,6 +43,8 @@ GrSurface* GrSurfaceProxy::instantiate(GrTextureProvider* texProvider) { |
return nullptr; |
} |
+ this->INHERITED::transferRefs(); |
+ |
#ifdef SK_DEBUG |
if (kInvalidGpuMemorySize != this->getRawGpuMemorySize_debugOnly()) { |
SkASSERT(fTarget->gpuMemorySize() <= this->getRawGpuMemorySize_debugOnly()); |