Index: ui/ozone/public/surface_ozone_canvas.h |
diff --git a/ui/ozone/public/surface_ozone_canvas.h b/ui/ozone/public/surface_ozone_canvas.h |
index 6cab0b40f0e9cbc1a1846312b2bb5a8ae49a5b46..31bada38f706c7b759163c3cd02c008d424509f0 100644 |
--- a/ui/ozone/public/surface_ozone_canvas.h |
+++ b/ui/ozone/public/surface_ozone_canvas.h |
@@ -27,7 +27,7 @@ class OZONE_BASE_EXPORT SurfaceOzoneCanvas { |
virtual ~SurfaceOzoneCanvas() {} |
// Returns an SkSurface for drawing on the window. |
- virtual skia::RefPtr<SkSurface> GetSurface() = 0; |
+ virtual sk_sp<SkSurface> GetSurface() = 0; |
// Attempts to resize the canvas to match the viewport size. After |
// resizing, the compositor must call GetCanvas() to get the next |