From 83f0b02a4cc4578f250ea652af431de8deb8932b Mon Sep 17 00:00:00 2001 From: John McCutchan Date: Tue, 5 Apr 2016 12:52:12 -0700 Subject: [PATCH] Fix Loader::Fetch to use the file path and not the uri. --- engine/src/flutter/sky/tools/sky_snapshot/loader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/sky/tools/sky_snapshot/loader.cc b/engine/src/flutter/sky/tools/sky_snapshot/loader.cc index d1c95a69ed..dd0b2a808e 100644 --- a/engine/src/flutter/sky/tools/sky_snapshot/loader.cc +++ b/engine/src/flutter/sky/tools/sky_snapshot/loader.cc @@ -161,7 +161,7 @@ std::string Loader::GetFilePathForFileURL(std::string url) { } std::string Loader::Fetch(const std::string& url) { - base::FilePath path(url); + base::FilePath path(GetFilePathForURL(url)); std::string source; if (!base::ReadFileToString(path, &source)) { fprintf(stderr, "error: Unable to find Dart library '%s'.\n", url.c_str());