| Index: net/base/filename_util.cc
|
| diff --git a/net/base/filename_util.cc b/net/base/filename_util.cc
|
| index c9d5fe4b5f2652bb7ab47c57d3cf80fe7ab95b9e..c41da98c17d1846539aaeeca077bca0a2c536a6d 100644
|
| --- a/net/base/filename_util.cc
|
| +++ b/net/base/filename_util.cc
|
| @@ -28,12 +28,6 @@ GURL FilePathToFileURL(const base::FilePath& path) {
|
| // "file://///server/path" for UNC. The URL canonicalizer will fix up the
|
| // latter case to be the canonical UNC form: "file://server/path"
|
| base::FilePath::StringType url_string(kFileURLPrefix);
|
| - if (!path.IsAbsolute()) {
|
| - base::FilePath current_dir;
|
| - PathService::Get(base::DIR_CURRENT, ¤t_dir);
|
| - url_string.append(current_dir.value());
|
| - url_string.push_back(base::FilePath::kSeparators[0]);
|
| - }
|
| url_string.append(path.value());
|
|
|
| // Now do replacement of some characters. Since we assume the input is a
|
|
|