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..42ad3c5d53ad812901813df2adcfc48179ce5f98 100644 |
--- a/chrome/browser/automation/testing_automation_provider.cc |
+++ b/chrome/browser/automation/testing_automation_provider.cc |
@@ -3203,8 +3203,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); |
} |