aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/HelloWorld.h
diff options
context:
space:
mode:
authorGravatar Jim Van Verth <jvanverth@google.com>2017-10-09 10:16:01 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-10-09 14:41:03 +0000
commitc1720d40360e9efc0f91b4a43c8ff694dd3af2a8 (patch)
tree007832ba9b3d1354dc4a611415ebc1af216dd5db /example/HelloWorld.h
parentc203e65265ccf0dcf426eafa4fae97b2b99cba7d (diff)
Get HelloWorld example running again
Change-Id: I5956f7c52d265d9f52dd061f1555c54ad092fe76 Reviewed-on: https://skia-review.googlesource.com/57101 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Brian Osman <brianosman@google.com>
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;
};