Skip to content

Commit

Permalink
Fix FlutterView's _delegate is not declared as ivar but a global vari…
Browse files Browse the repository at this point in the history
…able. (flutter#17206)
  • Loading branch information
wqyfavor authored Mar 30, 2020
1 parent dffcafc commit 915e63e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shell/platform/darwin/ios/framework/Source/FlutterView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
#include "flutter/shell/platform/darwin/ios/ios_surface_software.h"
#include "third_party/skia/include/utils/mac/SkCGUtils.h"

@implementation FlutterView

id<FlutterViewEngineDelegate> _delegate;
@implementation FlutterView {
id<FlutterViewEngineDelegate> _delegate;
}

- (instancetype)init {
@throw([NSException exceptionWithName:@"FlutterView must initWithDelegate"
Expand Down

0 comments on commit 915e63e

Please sign in to comment.