| Index: include/views/SkWindow.h
|
| diff --git a/include/views/SkWindow.h b/include/views/SkWindow.h
|
| index f81ec5d06ec092c04034e7f7fc93b71fd1593463..e964fc681b5a65e6e1b7b2ef9f6b5c1a909d865d 100644
|
| --- a/include/views/SkWindow.h
|
| +++ b/include/views/SkWindow.h
|
| @@ -78,7 +78,7 @@ public:
|
| void preConcat(const SkMatrix&);
|
| void postConcat(const SkMatrix&);
|
|
|
| - virtual SkSurface* createSurface();
|
| + virtual sk_sp<SkSurface> makeSurface();
|
|
|
| protected:
|
| virtual bool onEvent(const SkEvent&);
|
| @@ -98,8 +98,8 @@ protected:
|
| virtual bool onSetFocusView(SkView* focus);
|
|
|
| #if SK_SUPPORT_GPU
|
| - GrRenderTarget* renderTarget(const AttachmentInfo& attachmentInfo,
|
| - const GrGLInterface* , GrContext* grContext);
|
| + sk_sp<SkSurface> makeGpuBackedSurface(const AttachmentInfo& attachmentInfo,
|
| + const GrGLInterface* , GrContext* grContext);
|
| #endif
|
|
|
| private:
|
|
|