Chromium Code Reviews| Index: include/gpu/GrClip.h |
| diff --git a/include/gpu/GrClip.h b/include/gpu/GrClip.h |
| index fd8b970e39dc8861695181a369429a0a71d60240..cf6e65c976289c52906e3db2183c7ce884cc6a5d 100644 |
| --- a/include/gpu/GrClip.h |
| +++ b/include/gpu/GrClip.h |
| @@ -114,13 +114,6 @@ |
| } |
| } |
| - void setIRect(const SkIRect& irect) { |
| - this->reset(); |
| - fClipType = kIRect_ClipType; |
| - fOrigin.setZero(); |
| - fClip.fIRect = irect; |
| - } |
| - |
| const SkIRect& irect() const { |
| SkASSERT(kIRect_ClipType == fClipType); |
| return fClip.fIRect; |