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

Unified Diff: mojo/skia/ganesh_texture_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 | « mojo/skia/ganesh_image_factory.cc ('k') | mojo/skia/ganesh_texture_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/skia/ganesh_texture_surface.h
diff --git a/mojo/skia/ganesh_texture_surface.h b/mojo/skia/ganesh_texture_surface.h
index 3cf4c363c0329da48faff2453ddba48f23b48afa..3cabe6ee0d9bf2ffaba1dc7c9dd75bae9bc177d0 100644
--- a/mojo/skia/ganesh_texture_surface.h
+++ b/mojo/skia/ganesh_texture_surface.h
@@ -9,7 +9,7 @@
#include "base/macros.h"
#include "mojo/skia/ganesh_context.h"
-#include "skia/ext/refptr.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
#include "third_party/skia/include/core/SkSurface.h"
namespace mojo {
@@ -35,7 +35,7 @@ class GaneshTextureSurface {
private:
std::unique_ptr<GLTexture> texture_;
- ::skia::RefPtr<SkSurface> surface_;
+ sk_sp<SkSurface> surface_;
DISALLOW_COPY_AND_ASSIGN(GaneshTextureSurface);
};
« no previous file with comments | « mojo/skia/ganesh_image_factory.cc ('k') | mojo/skia/ganesh_texture_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698