Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(711)

Unified Diff: third_party/leveldatabase/env_chromium_win.cc

Issue 183853011: Move TrimWhitespace to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « rlz/lib/rlz_lib.cc ('k') | tools/gn/input_conversion.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/leveldatabase/env_chromium_win.cc
diff --git a/third_party/leveldatabase/env_chromium_win.cc b/third_party/leveldatabase/env_chromium_win.cc
index b8ce1a727517d891379e0cc05941ad27fab8adda..1b8da17ae3680da968bd27419cd3d447356887cd 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 {
« no previous file with comments | « rlz/lib/rlz_lib.cc ('k') | tools/gn/input_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698