Index: mojo/skia/gl_bindings_skia.h |
diff --git a/mojo/skia/gl_bindings_skia.h b/mojo/skia/gl_bindings_skia.h |
index 3eba0f9e3ae4b2b4ae48d47aba48fd4f9edbd71e..a39f8eb39516876cb71db730002a58aa0b7001cf 100644 |
--- a/mojo/skia/gl_bindings_skia.h |
+++ b/mojo/skia/gl_bindings_skia.h |
@@ -5,6 +5,7 @@ |
#ifndef MOJO_SKIA_GL_BINDINGS_SKIA_H_ |
#define MOJO_SKIA_GL_BINDINGS_SKIA_H_ |
+#include "third_party/skia/include/core/SkRefCnt.h" |
#include "third_party/skia/include/core/SkTypes.h" |
struct GrGLInterface; |
@@ -14,7 +15,7 @@ namespace skia { |
// The GPU back-end for skia requires pointers to GL functions. This function |
// returns a binding for skia-gpu to the Mojo C GL entry points. |
-GrGLInterface* CreateMojoSkiaGLBinding(); |
+sk_sp<GrGLInterface> CreateMojoSkiaGLBinding(); |
} // namespace skia |
} // namespace mojo |