diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-09 02:01:37 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-09 02:01:37 +0000 |
commit | f467ce7bc33af5f496e0619387551aedec6d2517 (patch) | |
tree | 840c4d46a160c421d2279333f2eb22d284ebbfe4 /src | |
parent | 0e354aacd84d3bede3f97cbde35a54ba62a89533 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5858 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/GrContext.cpp | 2 | ||||
-rw-r--r-- | src/gpu/GrDrawState.cpp | 2 | ||||
-rw-r--r-- | src/gpu/GrDrawState.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 32e6346ac9..738521b094 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -570,7 +570,7 @@ const GrClipData* GrContext::getClip() const { void GrContext::setClip(const GrClipData* clipData) { fGpu->setClip(clipData); - fDrawState->setState(GrDrawState::kClip_StateBit, + fDrawState->setState(GrDrawState::kClip_StateBit, clipData->fClipStack && !clipData->fClipStack->isWideOpen()); } diff --git a/src/gpu/GrDrawState.cpp b/src/gpu/GrDrawState.cpp index b0bbd06a16..da81a76a73 100644 --- a/src/gpu/GrDrawState.cpp +++ b/src/gpu/GrDrawState.cpp @@ -105,7 +105,7 @@ bool GrDrawState::AutoDeviceCoordDraw::set(GrDrawState* drawState, fDrawState = drawState; if (NULL == fDrawState) { return false; - } + } fViewMatrix = drawState->getViewMatrix(); fRestoreMask = 0; diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h index 8e063f775e..9b2005809f 100644 --- a/src/gpu/GrDrawState.h +++ b/src/gpu/GrDrawState.h @@ -487,7 +487,7 @@ public: * Can be called prior to destructor to restore the original matrix. */ void restore(); - + void set(GrDrawState* drawState, const GrMatrix& preconcatMatrix, uint32_t explicitCoordStageMask = 0); |