Index: src/gpu/GrDrawContext.cpp |
diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp |
index 2613407417ffedab21798ff6c640429c1d3374ff..bac3a169f526bdc5e83a22fcb9b545b062562ce7 100644 |
--- a/src/gpu/GrDrawContext.cpp |
+++ b/src/gpu/GrDrawContext.cpp |
@@ -75,6 +75,7 @@ |
if (!fDrawTarget || fDrawTarget->isClosed()) { |
fDrawTarget = fDrawingManager->newDrawTarget(fRenderTarget); |
+ fRenderTarget->setLastDrawTarget(fDrawTarget); |
} |
return fDrawTarget; |