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

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: public destructor Created 8 years, 5 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
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);
}

Powered by Google App Engine
This is Rietveld 408576698