| Index: chrome/browser/ui/views/login_view.cc
|
| diff --git a/chrome/browser/ui/views/login_view.cc b/chrome/browser/ui/views/login_view.cc
|
| index 4cf96157c74689bad1378608ebbc17465ff8ee23..cd6c6771cf1599cbd630edbb90c8caa825a81ff4 100644
|
| --- a/chrome/browser/ui/views/login_view.cc
|
| +++ b/chrome/browser/ui/views/login_view.cc
|
| @@ -89,11 +89,11 @@ LoginView::~LoginView() {
|
| }
|
|
|
| base::string16 LoginView::GetUsername() {
|
| - return username_field_->text();
|
| + return username_field_->GetText();
|
| }
|
|
|
| base::string16 LoginView::GetPassword() {
|
| - return password_field_->text();
|
| + return password_field_->GetText();
|
| }
|
|
|
| views::View* LoginView::GetInitiallyFocusedView() {
|
| @@ -105,7 +105,7 @@ views::View* LoginView::GetInitiallyFocusedView() {
|
|
|
| void LoginView::OnAutofillDataAvailable(const base::string16& username,
|
| const base::string16& password) {
|
| - if (username_field_->text().empty()) {
|
| + if (username_field_->GetText().empty()) {
|
| username_field_->SetText(username);
|
| password_field_->SetText(password);
|
| username_field_->SelectAll(true);
|
|
|