| Index: src/gpu/GrDrawTarget.cpp
|
| diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
|
| index d8848bc4d50b22c6609ff2d6edb0f6829cecf6ed..eb8991519dfdc11b608898a5ab335aea0d969fbe 100644
|
| --- a/src/gpu/GrDrawTarget.cpp
|
| +++ b/src/gpu/GrDrawTarget.cpp
|
| @@ -13,7 +13,6 @@
|
| #include "GrDrawTargetCaps.h"
|
| #include "GrPath.h"
|
| #include "GrRenderTarget.h"
|
| -#include "GrSurfacePriv.h"
|
| #include "GrTemplates.h"
|
| #include "GrTexture.h"
|
| #include "GrVertexBuffer.h"
|
| @@ -965,7 +964,7 @@
|
| SkASSERT(dstPoint.fX + srcRect.width() <= dst->width() &&
|
| dstPoint.fY + srcRect.height() <= dst->height());
|
|
|
| - return !dst->surfacePriv().isSameAs(src) && dst->asRenderTarget() && src->asTexture();
|
| + return !dst->isSameAs(src) && dst->asRenderTarget() && src->asTexture();
|
| }
|
|
|
| bool GrDrawTarget::onCopySurface(GrSurface* dst,
|
|
|