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

Unified Diff: ui/ozone/public/surface_ozone_canvas.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/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 42347c3dba53f2f37845773377c9e6c1d0f39c4a..8a7c4d1a419feeb64da07051f045194168a081b3 100644
--- a/ui/ozone/public/surface_ozone_canvas.h
+++ b/ui/ozone/public/surface_ozone_canvas.h
@@ -7,7 +7,7 @@
#include "base/basictypes.h"
#include "base/memory/scoped_ptr.h"
-#include "skia/ext/refptr.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
#include "ui/ozone/ozone_base_export.h"
class SkSurface;
@@ -28,7 +28,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
« 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