| 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 deb355f2346627fdb8161c9d487d4e1cf68d7397..c3f27d3064c723e89b9f500f03f88e7c831e1dd2 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider.cc
|
| @@ -3131,7 +3131,7 @@ void TestingAutomationProvider::GetOmniboxInfo(Browser* browser,
|
| return;
|
| }
|
| const OmniboxView* omnibox_view = loc_bar->GetLocationEntry();
|
| - const OmniboxEditModel* model = omnibox_view->model();
|
| + const OmniboxEditModel* model = omnibox_view->GetModel();
|
|
|
| // Fill up matches.
|
| ListValue* matches = new ListValue;
|
| @@ -3179,7 +3179,7 @@ void TestingAutomationProvider::SetOmniboxText(Browser* browser,
|
| return;
|
| }
|
| OmniboxView* omnibox_view = loc_bar->GetLocationEntry();
|
| - omnibox_view->model()->OnSetFocus(false);
|
| + omnibox_view->GetModel()->OnSetFocus(false);
|
| omnibox_view->SetUserText(text);
|
| reply.SendSuccess(NULL);
|
| }
|
| @@ -3203,7 +3203,7 @@ void TestingAutomationProvider::OmniboxMovePopupSelection(
|
| reply.SendError("The specified browser does not have a location bar.");
|
| return;
|
| }
|
| - OmniboxEditModel* model = loc_bar->GetLocationEntry()->model();
|
| + OmniboxEditModel* model = loc_bar->GetLocationEntry()->GetModel();
|
| model->OnUpOrDownKeyPressed(count);
|
| reply.SendSuccess(NULL);
|
| }
|
|
|