| Index: apps/launcher.cc
|
| diff --git a/apps/launcher.cc b/apps/launcher.cc
|
| index a4272a69b6e5e1079d1498bc278a8063048f1ea7..50cdf5de6099eea7f5940f25db90304d375fdfbb 100644
|
| --- a/apps/launcher.cc
|
| +++ b/apps/launcher.cc
|
| @@ -71,8 +71,11 @@ bool DoMakePathAbsolute(const base::FilePath& current_directory,
|
| return true;
|
|
|
| if (current_directory.empty()) {
|
| - *file_path = base::MakeAbsoluteFilePath(*file_path);
|
| - return !file_path->empty();
|
| + base::FilePath absolute_path = base::MakeAbsoluteFilePath(*file_path);
|
| + if (absolute_path.empty())
|
| + return false;
|
| + *file_path = absolute_path;
|
| + return true;
|
| }
|
|
|
| if (!current_directory.IsAbsolute())
|
|
|