Skip to content

Commit

Permalink
Fix build break caused by flutter/engine#5830 (flutter#5831)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde authored Jul 23, 2018
1 parent 244ebd6 commit 33a4aef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/dart_isolate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 33a4aef

Please sign in to comment.