Index: chrome/browser/extensions/platform_app_launcher.cc |
diff --git a/chrome/browser/extensions/platform_app_launcher.cc b/chrome/browser/extensions/platform_app_launcher.cc |
index 46daa89e85c76bb1092ff82b040b9c355f5704df..2ad1d776afc7f36e46907c0d4df65efd9e71de8e 100644 |
--- a/chrome/browser/extensions/platform_app_launcher.cc |
+++ b/chrome/browser/extensions/platform_app_launcher.cc |
@@ -62,8 +62,10 @@ bool MakePathAbsolute(const base::FilePath& current_directory, |
if (file_path->IsAbsolute()) |
return true; |
- if (current_directory.empty()) |
- return file_util::AbsolutePath(file_path); |
+ if (current_directory.empty()) { |
+ *file_path = base::MakeAbsoluteFilePath(*file_path); |
+ return !file_path->empty(); |
+ } |
if (!current_directory.IsAbsolute()) |
return false; |