diff options
Diffstat (limited to 'src/gpu/GrDrawTarget.cpp')
-rw-r--r-- | src/gpu/GrDrawTarget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp index 1f3b630f01..9fdb0f4e35 100644 --- a/src/gpu/GrDrawTarget.cpp +++ b/src/gpu/GrDrawTarget.cpp @@ -420,7 +420,7 @@ bool GrDrawTarget::setupDstReadIfNecessary(DrawInfo* info) { GrRenderTarget* rt = this->drawState()->getRenderTarget(); const GrClipData* clip = this->getClip(); - GrIRect copyRect; + SkIRect copyRect; clip->getConservativeBounds(this->getDrawState().getRenderTarget(), ©Rect); SkIRect drawIBounds; if (info->getDevIBounds(&drawIBounds)) { @@ -615,9 +615,9 @@ void set_vertex_attributes(GrDrawState* drawState, bool hasUVs) { }; -void GrDrawTarget::onDrawRect(const GrRect& rect, +void GrDrawTarget::onDrawRect(const SkRect& rect, const SkMatrix* matrix, - const GrRect* localRect, + const SkRect* localRect, const SkMatrix* localMatrix) { GrDrawState::AutoViewMatrixRestore avmr; |