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

Unified Diff: ui/gfx/text_elider_unittest.cc

Issue 1200393002: Add more string_util functions to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@string
Patch Set: Android Created 5 years, 6 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 | « ui/base/webui/jstemplate_builder.cc ('k') | ui/message_center/views/bounded_label_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/text_elider_unittest.cc
diff --git a/ui/gfx/text_elider_unittest.cc b/ui/gfx/text_elider_unittest.cc
index 8122c4277ecf1e7a0389bc054265710481e1374c..5eeea5c401f84ee09f89b9b55139a5f5f3b62d52 100644
--- a/ui/gfx/text_elider_unittest.cc
+++ b/ui/gfx/text_elider_unittest.cc
@@ -783,7 +783,7 @@ TEST(TextEliderTest, MAYBE_ElideRectangleTextLongWords) {
cases[i].wrap_behavior,
&lines));
std::string expected_output(cases[i].output);
- ReplaceSubstringsAfterOffset(&expected_output, 0, "...", kEllipsis);
+ base::ReplaceSubstringsAfterOffset(&expected_output, 0, "...", kEllipsis);
const std::string result = UTF16ToUTF8(JoinString(lines, '|'));
EXPECT_EQ(expected_output, result) << "Case " << i << " failed!";
}
« no previous file with comments | « ui/base/webui/jstemplate_builder.cc ('k') | ui/message_center/views/bounded_label_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698