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

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

Issue 1855273002: Update new Surface callsites (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months 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
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

Powered by Google App Engine
This is Rietveld 408576698