Fix compile error introduce in #5473. (flutter/engine#5488)

Fix compile error introduced in #5473.
This commit is contained in:
Stanislav Baranov 2018-06-07 15:36:35 -07:00 committed by GitHub
parent 5afc3daf35
commit 6d140f4e43

View File

@ -215,8 +215,7 @@ static void RunBundleAndSnapshot(
bundlepath));
} else {
asset_manager->PushBack(std::make_unique<blink::DirectoryAssetBundle>(
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