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 adb651d306947ec37467e07d185592bd1c8bb85b..f7e839a7dc0e5f8f2c5a5233bd69a948f0189053 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -3285,8 +3285,7 @@ void TestingAutomationProvider::OmniboxMovePopupSelection( |
reply.SendError("The specified browser does not have a location bar."); |
return; |
} |
- OmniboxEditModel* model = loc_bar->GetLocationEntry()->model(); |
- model->OnUpOrDownKeyPressed(count); |
+ loc_bar->GetLocationEntry()->model()->OnUpOrDownKeyPressed(count); |
reply.SendSuccess(NULL); |
} |