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 6effb607eab8d21df99b3834670d93a92c0a278a..6bc49e6ff4e5b798fb9196770f38bdb7eca49097 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; |