Index: skia/ext/platform_canvas.h |
diff --git a/skia/ext/platform_canvas.h b/skia/ext/platform_canvas.h |
index 28027437fc7cb3d0a71ff0ec4c11ecb457b8b195..dedd5dc4249036001482974287fec97281b993cd 100644 |
--- a/skia/ext/platform_canvas.h |
+++ b/skia/ext/platform_canvas.h |
@@ -89,7 +89,7 @@ static inline SkCanvas* CreatePlatformCanvas(int width, |
return CreatePlatformCanvas(width, height, is_opaque, 0, CRASH_ON_FAILURE); |
} |
-SK_API SkCanvas* CreateCanvas(const sk_sp<SkBaseDevice>& device, |
+SK_API SkCanvas* CreateCanvas(sk_sp<SkBaseDevice>& device, |
f(malita)
2016/04/21 15:45:47
const sk_sp<SkBaseDevice>&
(
We normally use eith
danakj
2016/04/21 23:37:21
If you're not going to ref the thing, take a T* in
tomhudson
2016/04/25 20:20:51
Done.
|
OnFailureType failure_type); |
static inline SkCanvas* CreateBitmapCanvas(int width, |