summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-03 19:05:31 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-03 19:05:31 +0000
commit8af69c6c00a7a432710171d16b37abe77f18d51c (patch)
tree4ee0b9d30bc47eab2ee1cc4cbc1e9c16916cd426 /third_party
parentd283bc0f818820a4344d170b1e917840310a7742 (diff)
downloadchromium_src-8af69c6c00a7a432710171d16b37abe77f18d51c.zip
chromium_src-8af69c6c00a7a432710171d16b37abe77f18d51c.tar.gz
chromium_src-8af69c6c00a7a432710171d16b37abe77f18d51c.tar.bz2
Move TrimWhitespace to the base namespace.
R=viettrungluu@chromium.org, viettrungluu Review URL: https://codereview.chromium.org/183853011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254521 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r--third_party/leveldatabase/env_chromium_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/leveldatabase/env_chromium_win.cc b/third_party/leveldatabase/env_chromium_win.cc
index b8ce1a7..1b8da17 100644
--- a/third_party/leveldatabase/env_chromium_win.cc
+++ b/third_party/leveldatabase/env_chromium_win.cc
@@ -30,7 +30,7 @@ static std::string GetWindowsErrorMessage(DWORD err) {
if (errorText != NULL) {
std::string message(base::UTF16ToUTF8(errorText));
// FormatMessage adds CR/LF to messages so we remove it.
- TrimWhitespace(message, TRIM_TRAILING, &message);
+ base::TrimWhitespace(message, base::TRIM_TRAILING, &message);
LocalFree(errorText);
return message;
} else {