Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: ui/ozone/public/surface_ozone_canvas.h

Issue 794603003: [Ozone] Fix build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/test/test_window_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ui/ozone/platform/test/test_window_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698