forked from firka/flutter
Mark const extern (flutter/engine#8077)
* Mark const extern * fix build
This commit is contained in:
@@ -11,7 +11,7 @@ gke_container:
|
||||
task:
|
||||
env:
|
||||
CIRRUS_WORKING_DIR: "/tmp/github_repo"
|
||||
|
||||
DEPOT_TOOLS_UPDATE: 0
|
||||
replace_engine_script: |
|
||||
cd $ENGINE_PATH/src
|
||||
rm -r flutter
|
||||
@@ -88,7 +88,7 @@ format_and_dart_test_task:
|
||||
|
||||
env:
|
||||
CIRRUS_WORKING_DIR: "/tmp/github_repo"
|
||||
|
||||
DEPOT_TOOLS_UPDATE: 0
|
||||
replace_engine_script: |
|
||||
cd $ENGINE_PATH/src
|
||||
rm -r flutter
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
* The object passed as the sender is the `FlutterViewController` associated
|
||||
* with the update.
|
||||
*/
|
||||
const NSNotificationName FlutterSemanticsUpdateNotification = @"FlutterSemanticsUpdate";
|
||||
extern NSNotificationName const FlutterSemanticsUpdateNotification;
|
||||
|
||||
/**
|
||||
* A `UIViewController` implementation for Flutter views.
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include "flutter/shell/platform/darwin/ios/framework/Source/platform_message_response_darwin.h"
|
||||
#include "flutter/shell/platform/darwin/ios/platform_view_ios.h"
|
||||
|
||||
NSNotificationName const FlutterSemanticsUpdateNotification = @"FlutterSemanticsUpdate";
|
||||
|
||||
@implementation FlutterViewController {
|
||||
std::unique_ptr<fml::WeakPtrFactory<FlutterViewController>> _weakFactory;
|
||||
fml::scoped_nsobject<FlutterEngine> _engine;
|
||||
|
||||
Reference in New Issue
Block a user