aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/HelloWorld.h
diff options
context:
space:
mode:
Diffstat (limited to 'example/HelloWorld.h')
-rw-r--r--example/HelloWorld.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/HelloWorld.h b/example/HelloWorld.h
index d3fc7cfb16..05d9b81e82 100644
--- a/example/HelloWorld.h
+++ b/example/HelloWorld.h
@@ -62,10 +62,10 @@ private:
// support framework
DeviceType fType;
sk_sp<SkSurface> fRasterSurface;
- GrContext* fContext;
+ sk_sp<GrContext> fContext;
sk_sp<SkSurface> fGpuSurface;
AttachmentInfo fAttachmentInfo;
- const GrGLInterface* fInterface;
+ sk_sp<const GrGLInterface> fInterface;
typedef SkOSWindow INHERITED;
};