summaryrefslogtreecommitdiffstats
path: root/chrome/common/localized_error.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-03 22:05:28 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-03 22:05:28 +0000
commit466c986d6754aa9fb92edc781cd3eade36c41ed1 (patch)
tree330365d2d56ee88037e53840fe47f106fd568c49 /chrome/common/localized_error.cc
parentf8ddd9000a2e654d930805b01dcbb9d9bfb90e88 (diff)
downloadchromium_src-466c986d6754aa9fb92edc781cd3eade36c41ed1.zip
chromium_src-466c986d6754aa9fb92edc781cd3eade36c41ed1.tar.gz
chromium_src-466c986d6754aa9fb92edc781cd3eade36c41ed1.tar.bz2
Move RemoveChars, ReplaceChars, TrimString, and TruncateUTF8ToByteSize to base namespace.
BUG= R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/102843002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238465 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/localized_error.cc')
-rw-r--r--chrome/common/localized_error.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/localized_error.cc b/chrome/common/localized_error.cc
index 67cdca1..132ae38 100644
--- a/chrome/common/localized_error.cc
+++ b/chrome/common/localized_error.cc
@@ -574,7 +574,7 @@ void LocalizedError::GetStrings(int error_code,
// Non-internationalized error string, for debugging Chrome itself.
std::string ascii_error_string = net::ErrorToString(error_code);
// Remove the leading "net::" from the returned string.
- RemoveChars(ascii_error_string, "net:", &ascii_error_string);
+ base::RemoveChars(ascii_error_string, "net:", &ascii_error_string);
error_string = ASCIIToUTF16(ascii_error_string);
} else if (error_domain == chrome_common_net::kDnsProbeErrorDomain) {
std::string ascii_error_string =