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

Unified Diff: components/safe_browsing_db/prefix_set_unittest.cc

Issue 1493503002: base: get rid of deprecated TrimWhitespace() function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years 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 | « components/plugins/renderer/plugin_placeholder.cc ('k') | content/child/npapi/plugin_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_browsing_db/prefix_set_unittest.cc
diff --git a/components/safe_browsing_db/prefix_set_unittest.cc b/components/safe_browsing_db/prefix_set_unittest.cc
index 181efc7749411a7dabee8ef0322ef37b863f07a3..d1de0db4d4f00aced907198883f62083c2fb1469 100644
--- a/components/safe_browsing_db/prefix_set_unittest.cc
+++ b/components/safe_browsing_db/prefix_set_unittest.cc
@@ -199,7 +199,7 @@ class PrefixSetTest : public PlatformTest {
while (fgets(buf, sizeof(buf), file.get())) {
std::string trimmed;
if (base::TRIM_TRAILING !=
- base::TrimWhitespace(buf, base::TRIM_ALL, &trimmed))
+ base::TrimWhitespaceASCII(buf, base::TRIM_ALL, &trimmed))
return false;
unsigned prefix;
if (!base::StringToUint(trimmed, &prefix))
« no previous file with comments | « components/plugins/renderer/plugin_placeholder.cc ('k') | content/child/npapi/plugin_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698