diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/SkDeferredCanvas.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/utils/SkDeferredCanvas.h b/include/utils/SkDeferredCanvas.h index 87797ac4ca..d1424f0fcf 100644 --- a/include/utils/SkDeferredCanvas.h +++ b/include/utils/SkDeferredCanvas.h @@ -289,11 +289,12 @@ protected: virtual SkCanvas* canvasForDrawIter(); private: - SkCanvas* drawingCanvas() const; bool isFullFrame(const SkRect*, const SkPaint*) const; void validate() const; void init(); - bool fDeferredDrawing; + SkCanvas* fDrawingCanvas; // This points to the recording or immediate + // canvas, based on fDeferredDrawing + bool fDeferredDrawing; typedef SkCanvas INHERITED; }; |