Update GetDirectoryName namespace to the one in FML on Linux. (flutter/engine#5879)

This commit is contained in:
Chinmay Garde
2018-07-26 13:40:29 -07:00
committed by Michael Goderbauer
parent a238a2aad7
commit 050b93b822

View File

@@ -18,7 +18,7 @@ std::pair<bool, std::string> GetExecutableDirectoryPath() {
if (read_size == -1) {
return {false, ""};
}
return {true, files::GetDirectoryName(
return {true, fml::paths::GetDirectoryName(
std::string{path, static_cast<size_t>(read_size)})};
}