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