| Index: net/base/net_util.cc
|
| diff --git a/net/base/net_util.cc b/net/base/net_util.cc
|
| index a373432a0a4f3d6e92b1cba600dd57d3bc028be7..9e1ebe55f5049b1432bf17ae54b5b52333440936 100644
|
| --- a/net/base/net_util.cc
|
| +++ b/net/base/net_util.cc
|
| @@ -767,7 +767,7 @@ void SanitizeGeneratedFileName(base::FilePath::StringType* filename,
|
| size_t length = filename->size();
|
| size_t pos = filename->find_last_not_of(FILE_PATH_LITERAL(" ."));
|
| filename->resize((pos == std::string::npos) ? 0 : (pos + 1));
|
| - TrimWhitespace(*filename, TRIM_TRAILING, filename);
|
| + base::TrimWhitespace(*filename, base::TRIM_TRAILING, filename);
|
| if (filename->empty())
|
| return;
|
| size_t trimmed = length - filename->size();
|
| @@ -1058,8 +1058,9 @@ std::string GetSpecificHeader(const std::string& headers,
|
| begin += match.length();
|
|
|
| std::string ret;
|
| - TrimWhitespace(std::string(begin, std::find(begin, headers.end(), '\n')),
|
| - TRIM_ALL, &ret);
|
| + base::TrimWhitespace(std::string(begin,
|
| + std::find(begin, headers.end(), '\n')),
|
| + base::TRIM_ALL, &ret);
|
| return ret;
|
| }
|
|
|
|
|