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

Unified Diff: ui/ozone/platform/drm/gpu/drm_surface.h

Issue 2011713003: Roll skia to 8cc209111876b7c78b5ec577c9221d8ed5e21024 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_console_buffer.cc ('k') | ui/ozone/platform/drm/gpu/drm_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/drm/gpu/drm_surface.h
diff --git a/ui/ozone/platform/drm/gpu/drm_surface.h b/ui/ozone/platform/drm/gpu/drm_surface.h
index 65fe969a6d6083155f3e750eef40693b96b75699..1768eba6b7013e7361682177df2032d682858bed 100644
--- a/ui/ozone/platform/drm/gpu/drm_surface.h
+++ b/ui/ozone/platform/drm/gpu/drm_surface.h
@@ -29,7 +29,7 @@ class OZONE_EXPORT DrmSurface : public SurfaceOzoneCanvas {
~DrmSurface() override;
// SurfaceOzoneCanvas:
- skia::RefPtr<SkSurface> GetSurface() override;
+ sk_sp<SkSurface> GetSurface() override;
void ResizeCanvas(const gfx::Size& viewport_size) override;
void PresentCanvas(const gfx::Rect& damage) override;
scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider() override;
@@ -47,13 +47,13 @@ class OZONE_EXPORT DrmSurface : public SurfaceOzoneCanvas {
scoped_refptr<DrmBuffer> front_buffer_;
scoped_refptr<DrmBuffer> back_buffer_;
- skia::RefPtr<SkSurface> surface_;
+ sk_sp<SkSurface> surface_;
gfx::Rect last_damage_;
// Keep track of the requested image and damage for the last presentation.
// This will be used to update the scanout buffers once the previous page flip
// events completes.
- skia::RefPtr<SkImage> pending_image_;
+ sk_sp<SkImage> pending_image_;
gfx::Rect pending_image_damage_;
bool pending_pageflip_ = false;
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_console_buffer.cc ('k') | ui/ozone/platform/drm/gpu/drm_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698