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

Unified Diff: content/test/layouttest_support.cc

Issue 2648433008: Use explicit WebString conversions in LayoutTest related files (Closed)
Patch Set: . Created 3 years, 11 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 | « 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 3f981ddc9c333d4f23803857c9ab4321b90d9e6f..117f9bd066ab3b8484fedb3ca73e727e92d9d6b3 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -541,8 +541,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();
+ base::string16 target1 = node1->item().target().utf16();
+ base::string16 target2 = node2->item().target().utf16();
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