diff options
author | reed <reed@chromium.org> | 2014-12-02 19:40:18 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-02 19:40:18 -0800 |
commit | af641a1c10f176cb9617026d3cc93c117a85d13d (patch) | |
tree | d655e0b8250823136d12be8ac638f5b5c9208fdb /src/utils/SkGatherPixelRefsAndRects.h | |
parent | 1962f521a239a86417509c0628a99ac0b5ba0bc2 (diff) |
Revert "Change clear() to respect the clip"
This reverts commit 3729469d6a12266037b697c2192768545e097ab0.
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/778563002
Diffstat (limited to 'src/utils/SkGatherPixelRefsAndRects.h')
-rw-r--r-- | src/utils/SkGatherPixelRefsAndRects.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/SkGatherPixelRefsAndRects.h b/src/utils/SkGatherPixelRefsAndRects.h index 6e11fbe6d5..4eeb56c14c 100644 --- a/src/utils/SkGatherPixelRefsAndRects.h +++ b/src/utils/SkGatherPixelRefsAndRects.h @@ -40,6 +40,9 @@ public: } protected: + virtual void clear(SkColor color) SK_OVERRIDE { + NothingToDo(); + } virtual void drawPaint(const SkDraw& draw, const SkPaint& paint) SK_OVERRIDE { SkBitmap bm; |