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 d02338b70e1ca1a9fce27a2ab8359736ea18ae7c..42347c3dba53f2f37845773377c9e6c1d0f39c4a 100644 |
--- a/ui/ozone/public/surface_ozone_canvas.h |
+++ b/ui/ozone/public/surface_ozone_canvas.h |
@@ -10,7 +10,7 @@ |
#include "skia/ext/refptr.h" |
#include "ui/ozone/ozone_base_export.h" |
-class SkCanvas; |
+class SkSurface; |
namespace gfx { |
class Size; |
@@ -27,8 +27,8 @@ class OZONE_BASE_EXPORT SurfaceOzoneCanvas { |
public: |
virtual ~SurfaceOzoneCanvas() {} |
- // Returns an SkCanvas for drawing on the window. |
- virtual skia::RefPtr<SkCanvas> GetCanvas() = 0; |
+ // Returns an SkSurface for drawing on the window. |
+ virtual skia::RefPtr<SkSurface> GetSurface() = 0; |
// Attempts to resize the canvas to match the viewport size. After |
// resizing, the compositor must call GetCanvas() to get the next |