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

Unified Diff: mojo/skia/gl_bindings_skia.cc

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/gl_bindings_skia.h ('k') | mojo/skia/type_converters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/skia/gl_bindings_skia.cc
diff --git a/mojo/skia/gl_bindings_skia.cc b/mojo/skia/gl_bindings_skia.cc
index 4ca10bd3a8dea67b2331deb9dee43829ff395d53..89467f943ea7e02aedf82bc65e4dd2794fbde952 100644
--- a/mojo/skia/gl_bindings_skia.cc
+++ b/mojo/skia/gl_bindings_skia.cc
@@ -15,8 +15,8 @@
namespace mojo {
namespace skia {
-GrGLInterface* CreateMojoSkiaGLBinding() {
- GrGLInterface* interface = new GrGLInterface;
+sk_sp<GrGLInterface> CreateMojoSkiaGLBinding() {
+ sk_sp<GrGLInterface> interface = sk_make_sp<GrGLInterface>();
interface->fStandard = kGLES_GrGLStandard;
interface->fExtensions.init(kGLES_GrGLStandard, glGetString, nullptr,
glGetIntegerv);
« no previous file with comments | « mojo/skia/gl_bindings_skia.h ('k') | mojo/skia/type_converters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698