Index: src/gpu/GrDrawContext.cpp |
diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp |
index 44ec45765c6f5caa460cfed77c44cc89cb118e1e..6161626501270a174594c704fd12cd8fb01a7fc7 100644 |
--- a/src/gpu/GrDrawContext.cpp |
+++ b/src/gpu/GrDrawContext.cpp |
@@ -95,13 +95,13 @@ |
return fDrawTarget; |
} |
-bool GrDrawContext::copySurface(GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) { |
- ASSERT_SINGLE_OWNER |
- RETURN_FALSE_IF_ABANDONED |
+void GrDrawContext::copySurface(GrSurface* src, const SkIRect& srcRect, const SkIPoint& dstPoint) { |
+ ASSERT_SINGLE_OWNER |
+ RETURN_IF_ABANDONED |
SkDEBUGCODE(this->validate();) |
GR_AUDIT_TRAIL_AUTO_FRAME(fAuditTrail, "GrDrawContext::copySurface"); |
- return this->getDrawTarget()->copySurface(fRenderTarget, src, srcRect, dstPoint); |
+ this->getDrawTarget()->copySurface(fRenderTarget, src, srcRect, dstPoint); |
} |
void GrDrawContext::drawText(const GrClip& clip, const GrPaint& grPaint, |