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

Unified Diff: content/test/layouttest_support.cc

Issue 2537953003: WebString: makes string16 conversions explicit (part 1: blink, content) (Closed)
Patch Set: fix Created 4 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 | « content/shell/renderer/layout_test/blink_test_runner.cc ('k') | content/test/mock_webclipboard_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 58614e6c86f9a057f0935b5d652b942ecce6412e..b104a292b9d32ababf3a4c6ffc51844e0f9d536d 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -1072,8 +1072,8 @@ void DisableAutoResizeMode(RenderView* render_view, const WebSize& new_size) {
// Returns True if node1 < node2.
bool HistoryEntryCompareLess(HistoryEntry::HistoryNode* node1,
HistoryEntry::HistoryNode* node2) {
- base::string16 target1 = node1->item().target();
- base::string16 target2 = node2->item().target();
+ std::string target1 = node1->item().target().ascii();
+ std::string target2 = node2->item().target().ascii();
return base::CompareCaseInsensitiveASCII(target1, target2) < 0;
}
« no previous file with comments | « content/shell/renderer/layout_test/blink_test_runner.cc ('k') | content/test/mock_webclipboard_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698