Index: chrome/test/base/ui_test_utils.cc |
diff --git a/chrome/test/base/ui_test_utils.cc b/chrome/test/base/ui_test_utils.cc |
index 094e311bdb44877c15d997bfcecaf5fb0121effb..64a8fffdb9d0303947079071e5f6455bfe8a8d6b 100644 |
--- a/chrome/test/base/ui_test_utils.cc |
+++ b/chrome/test/base/ui_test_utils.cc |
@@ -142,7 +142,7 @@ bool GetCurrentTabTitle(const Browser* browser, base::string16* title) { |
NavigationEntry* last_entry = web_contents->GetController().GetActiveEntry(); |
if (!last_entry) |
return false; |
- title->assign(last_entry->GetTitleForDisplay(std::string())); |
+ title->assign(last_entry->GetTitleForDisplay()); |
return true; |
} |