Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(51)

Unified Diff: src/pipe/SkGPipeWrite.cpp

Issue 803913005: Remove SkCanvas::isDrawingToLayer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: moar cleanup Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698