| Index: chrome/browser/net/url_fixer_upper.cc
|
| diff --git a/chrome/browser/net/url_fixer_upper.cc b/chrome/browser/net/url_fixer_upper.cc
|
| index 1dadc5b44390d5258e903b0362c48361dda8fb88..06650b7a0e2251b878341463e49c6f10b6a4dce7 100644
|
| --- a/chrome/browser/net/url_fixer_upper.cc
|
| +++ b/chrome/browser/net/url_fixer_upper.cc
|
| @@ -103,8 +103,8 @@ void PrepareStringForFileOps(const base::FilePath& text,
|
| // returns false and leaves |full_path| unchanged.
|
| bool ValidPathForFile(const base::FilePath::StringType& text,
|
| base::FilePath* full_path) {
|
| - base::FilePath file_path(text);
|
| - if (!file_util::AbsolutePath(&file_path))
|
| + base::FilePath file_path = base::FilePath(text).AsAbsolute();
|
| + if (file_path.empty())
|
| return false;
|
|
|
| if (!file_util::PathExists(file_path))
|
|
|