summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-20 19:35:07 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-20 19:35:07 +0000
commitc9fc90616c532c08838b6e4f0c36571173959ff1 (patch)
treebb4cb3f0640f2d183feb3023e7da587bf300b880 /chrome/browser
parentde34e5234bc26c57413ee10315137a6a8f00ec3b (diff)
downloadchromium_src-c9fc90616c532c08838b6e4f0c36571173959ff1.zip
chromium_src-c9fc90616c532c08838b6e4f0c36571173959ff1.tar.gz
chromium_src-c9fc90616c532c08838b6e4f0c36571173959ff1.tar.bz2
Fix ctrl-k not working.
This was just an artifact of how I changed my mind a number of times during the AutocompleteEdit model/view split and failed to ultimately do the right thing here. BUG=2901 Review URL: http://codereview.chromium.org/7672 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3621 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/browser_commands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/browser_commands.cc b/chrome/browser/browser_commands.cc
index 37eebe8..e7f9230 100644
--- a/chrome/browser/browser_commands.cc
+++ b/chrome/browser/browser_commands.cc
@@ -334,7 +334,7 @@ void Browser::ExecuteCommand(int id) {
LocationBarView* lbv = GetLocationBarView();
if (lbv) {
AutocompleteEditView* aev = lbv->location_entry();
- aev->model()->SetUserText(L"?");
+ aev->SetUserText(L"?");
aev->SetFocus();
}
}