| Index: chrome/browser/automation/testing_automation_provider.cc
|
| diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
|
| index ae9f48c27831678eb239f914eef54e13eb8689d8..e176eec5e740ad2066341e2a36aaf6df1043b642 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider.cc
|
| @@ -991,7 +991,7 @@ void TestingAutomationProvider::GetTabTitle(int handle,
|
| NavigationController* tab = tab_tracker_->GetResource(handle);
|
| NavigationEntry* entry = tab->GetActiveEntry();
|
| if (entry != NULL) {
|
| - *title = UTF16ToWideHack(entry->GetTitleForDisplay(""));
|
| + *title = UTF16ToWideHack(entry->GetTitleForDisplay(std::string()));
|
| } else {
|
| *title = std::wstring();
|
| }
|
| @@ -3414,7 +3414,7 @@ void TestingAutomationProvider::RemoveSavedPassword(
|
| // This observer will delete itself.
|
| PasswordStoreLoginsChangedObserver* observer =
|
| new PasswordStoreLoginsChangedObserver(
|
| - this, reply_message, PasswordStoreChange::REMOVE, "");
|
| + this, reply_message, PasswordStoreChange::REMOVE, std::string());
|
| observer->Init();
|
|
|
| password_store->RemoveLogin(to_remove);
|
| @@ -5353,7 +5353,7 @@ void TestingAutomationProvider::GetTabInfo(
|
| return;
|
| }
|
| DictionaryValue dict;
|
| - dict.SetString("title", entry->GetTitleForDisplay(""));
|
| + dict.SetString("title", entry->GetTitleForDisplay(std::string()));
|
| dict.SetString("url", entry->GetVirtualURL().spec());
|
| reply.SendSuccess(&dict);
|
| } else {
|
|
|