diff options
Diffstat (limited to 'include/utils')
-rw-r--r-- | include/utils/SkNoDrawCanvas.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/utils/SkNoDrawCanvas.h b/include/utils/SkNoDrawCanvas.h index 7475956704..4c67226946 100644 --- a/include/utils/SkNoDrawCanvas.h +++ b/include/utils/SkNoDrawCanvas.h @@ -29,6 +29,8 @@ public: // TODO: investigate the users of this ctor. SkNoDrawCanvas(const SkIRect&); + explicit SkNoDrawCanvas(SkBaseDevice* device); + // Optimization to reset state to be the same as after construction. void resetCanvas(int width, int height) { resetForNextPicture(SkIRect::MakeWH(width, height)); |