From 1a82cb0edc2eff1a191681ee5c294fcf67bf5f54 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 (flutter/engine#4934) This is to support Swift users, where nil is allowed for CVPixelBufferRef. --- .../platform/darwin/ios/framework/Headers/FlutterTexture.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Headers/FlutterTexture.h b/engine/src/flutter/shell/platform/darwin/ios/framework/Headers/FlutterTexture.h index c755ebf711..f2b8670a8a 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Headers/FlutterTexture.h +++ b/engine/src/flutter/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