aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/utils/SkNoDrawCanvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/utils/SkNoDrawCanvas.h')
-rw-r--r--include/utils/SkNoDrawCanvas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/utils/SkNoDrawCanvas.h b/include/utils/SkNoDrawCanvas.h
index 4c67226946..518d090786 100644
--- a/include/utils/SkNoDrawCanvas.h
+++ b/include/utils/SkNoDrawCanvas.h
@@ -29,7 +29,7 @@ public:
// TODO: investigate the users of this ctor.
SkNoDrawCanvas(const SkIRect&);
- explicit SkNoDrawCanvas(SkBaseDevice* device);
+ explicit SkNoDrawCanvas(sk_sp<SkBaseDevice> device);
// Optimization to reset state to be the same as after construction.
void resetCanvas(int width, int height) {