aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/SkGatherPixelRefsAndRects.h
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2014-12-02 19:40:18 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-02 19:40:18 -0800
commitaf641a1c10f176cb9617026d3cc93c117a85d13d (patch)
treed655e0b8250823136d12be8ac638f5b5c9208fdb /src/utils/SkGatherPixelRefsAndRects.h
parent1962f521a239a86417509c0628a99ac0b5ba0bc2 (diff)
Revert "Change clear() to respect the clip"
Diffstat (limited to 'src/utils/SkGatherPixelRefsAndRects.h')
-rw-r--r--src/utils/SkGatherPixelRefsAndRects.h3
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;