Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4014)

Unified Diff: chrome/browser/automation/testing_automation_provider.cc

Issue 10810062: Moving common code into OmniboxView from OmniboxView* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix final nits Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/omnibox_search_hint.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | chrome/browser/omnibox_search_hint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698