Index: src/gpu/SkGpuDevice.cpp |
diff --git a/src/gpu/SkGpuDevice.cpp b/src/gpu/SkGpuDevice.cpp |
index 19c637735c118bad4d6144c1c0122f051f031843..3004beb006e609ebb14a6ce0487b6d6d73b78673 100644 |
--- a/src/gpu/SkGpuDevice.cpp |
+++ b/src/gpu/SkGpuDevice.cpp |
@@ -260,7 +260,7 @@ void SkGpuDevice::replaceRenderTargetContext(bool shouldRetainContent) { |
if (fRenderTargetContext->wasAbandoned()) { |
return; |
} |
- newRTC->copySurface(fRenderTargetContext->asTexture().get(), |
+ newRTC->copySurface(fRenderTargetContext->asDeferredTexture().get(), |
SkIRect::MakeWH(this->width(), this->height()), |
SkIPoint::Make(0, 0)); |
} |