Chromium Code Reviews| Index: include/gpu/GrClip.h |
| diff --git a/include/gpu/GrClip.h b/include/gpu/GrClip.h |
| index ba26d5c0817419e25da5e61486461e6ccb12e6a7..76cb46e3123c9bf2d74959783a700e2871b61de7 100644 |
| --- a/include/gpu/GrClip.h |
| +++ b/include/gpu/GrClip.h |
| @@ -93,6 +93,7 @@ public: |
| } |
| void setClipStack(const SkClipStack* clipStack, const SkIPoint* origin = NULL) { |
| + this->reset(); |
| if (clipStack->isWideOpen()) { |
| fClipType = kWideOpen_ClipType; |
| fOrigin.setZero(); |