From 4883131507286def8cbd6f1ab9f32b0766c70c8c Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Wed, 4 Apr 2018 13:53:49 -0700 Subject: [PATCH] Set FlutterTexture copyPixelBuffer return nullable (#4934) This is to support Swift users, where nil is allowed for CVPixelBufferRef. --- shell/platform/darwin/ios/framework/Headers/FlutterTexture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/platform/darwin/ios/framework/Headers/FlutterTexture.h b/shell/platform/darwin/ios/framework/Headers/FlutterTexture.h index c755ebf71..f2b8670a8 100644 --- a/shell/platform/darwin/ios/framework/Headers/FlutterTexture.h +++ b/shell/platform/darwin/ios/framework/Headers/FlutterTexture.h @@ -14,7 +14,7 @@ NS_ASSUME_NONNULL_BEGIN FLUTTER_EXPORT @protocol FlutterTexture -- (CVPixelBufferRef)copyPixelBuffer; +- (CVPixelBufferRef _Nullable)copyPixelBuffer; @end FLUTTER_EXPORT -- GitLab