From 4c3bc3645f7ba2a957640b0a044835268fa76cd5 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Mon, 23 Jul 2018 13:25:17 -0700 Subject: [PATCH] Fix build break caused by https://github.com/flutter/engine/pull/5830 (flutter/engine#5831) --- engine/src/flutter/runtime/dart_isolate.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/src/flutter/runtime/dart_isolate.cc b/engine/src/flutter/runtime/dart_isolate.cc index 51073de246..c215917cb9 100644 --- a/engine/src/flutter/runtime/dart_isolate.cc +++ b/engine/src/flutter/runtime/dart_isolate.cc @@ -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;