Index: src/pipe/SkGPipeRead.cpp |
diff --git a/src/pipe/SkGPipeRead.cpp b/src/pipe/SkGPipeRead.cpp |
index aa108e602eb152c9ac5d1c330306b14bbf302ac7..7684b7204992205e4739f33b7b90fe307024c616 100644 |
--- a/src/pipe/SkGPipeRead.cpp |
+++ b/src/pipe/SkGPipeRead.cpp |
@@ -345,15 +345,6 @@ static void restore_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, |
/////////////////////////////////////////////////////////////////////////////// |
-static void drawClear_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, |
- SkGPipeState* state) { |
- SkColor color = 0; |
- if (DrawOp_unpackFlags(op32) & kClear_HasColor_DrawOpFlag) { |
- color = reader->readU32(); |
- } |
- canvas->clear(color); |
-} |
- |
static void drawPaint_rp(SkCanvas* canvas, SkReader32* reader, uint32_t op32, |
SkGPipeState* state) { |
if (state->shouldDraw()) { |
@@ -801,7 +792,6 @@ static const ReadProc gReadTable[] = { |
drawBitmap_rp, |
drawBitmapNine_rp, |
drawBitmapRect_rp, |
- drawClear_rp, |
drawDRRect_rp, |
drawOval_rp, |
drawPaint_rp, |