Fix build break caused by https://github.com/flutter/engine/pull/5830 (flutter/engine#5831)
This commit is contained in:
@@ -728,7 +728,8 @@ DartIsolate::CreateDartVMAndEmbedderObjectPair(
|
||||
flags = &nonnull_flags;
|
||||
}
|
||||
bool dart2 = (vm->GetPlatformKernel().GetSize() > 0) ||
|
||||
Dart_IsDart2Snapshot(embedder_isolate->GetIsolateSnapshot()
|
||||
Dart_IsDart2Snapshot((*embedder_isolate)
|
||||
->GetIsolateSnapshot()
|
||||
->GetData()
|
||||
->GetSnapshotPointer());
|
||||
flags->use_dart_frontend = dart2;
|
||||
|
||||
Reference in New Issue
Block a user