From 6d140f4e43ebc034af0d7e4b1190dccc73edda89 Mon Sep 17 00:00:00 2001 From: Stanislav Baranov Date: Thu, 7 Jun 2018 15:36:35 -0700 Subject: [PATCH] Fix compile error introduce in #5473. (flutter/engine#5488) Fix compile error introduced in #5473. --- .../shell/platform/android/platform_view_android_jni.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/src/flutter/shell/platform/android/platform_view_android_jni.cc b/engine/src/flutter/shell/platform/android/platform_view_android_jni.cc index de5b1df4612..30fc565c842 100644 --- a/engine/src/flutter/shell/platform/android/platform_view_android_jni.cc +++ b/engine/src/flutter/shell/platform/android/platform_view_android_jni.cc @@ -215,8 +215,7 @@ static void RunBundleAndSnapshot( bundlepath)); } else { asset_manager->PushBack(std::make_unique( - fml::OpenFile(bundlepath.c_str(), fml::OpenPermission::kRead, true), - bundlepath)); + fml::OpenFile(bundlepath.c_str(), fml::OpenPermission::kRead, true))); } // Use the last path component of the bundle path to determine the