Chromium Code Reviews| Index: src/pipe/SkGPipeWrite.cpp |
| diff --git a/src/pipe/SkGPipeWrite.cpp b/src/pipe/SkGPipeWrite.cpp |
| index 9b73c6340ea70e4b28db9502ac0ab021b897ca0d..40720ca2afacd7aa1364544417b767d77deb4852 100644 |
| --- a/src/pipe/SkGPipeWrite.cpp |
| +++ b/src/pipe/SkGPipeWrite.cpp |
| @@ -232,7 +232,6 @@ public: |
| } |
| // overrides from SkCanvas |
| - virtual bool isDrawingToLayer() const SK_OVERRIDE; |
| virtual void drawPaint(const SkPaint& paint) SK_OVERRIDE; |
| virtual void drawPoints(PointMode, size_t count, const SkPoint pts[], |
| const SkPaint&) SK_OVERRIDE; |
| @@ -578,10 +577,6 @@ void SkGPipeCanvas::willRestore() { |
| this->INHERITED::willRestore(); |
| } |
| -bool SkGPipeCanvas::isDrawingToLayer() const { |
| - return kNoSaveLayer != fFirstSaveLayerStackLevel; |
|
mtklein
2014/12/15 17:33:34
Also clean up fFirstSaveLayerStackLevel / kNoSaveL
|
| -} |
| - |
| void SkGPipeCanvas::recordTranslate(const SkMatrix& m) { |
| if (this->needOpBytes(2 * sizeof(SkScalar))) { |
| this->writeOp(kTranslate_DrawOp); |