diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-20 04:22:44 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-20 04:22:44 +0000 |
commit | 3c3ba740c63a178807cc0c1a563080e0adbfe143 (patch) | |
tree | 78bcd84e7870d8009165df0e7a9fca87f4e91903 /chrome/browser/views/infobars/infobars.cc | |
parent | 76724d00d3498f952d945d775a3f33f751624121 (diff) | |
download | chromium_src-3c3ba740c63a178807cc0c1a563080e0adbfe143.zip chromium_src-3c3ba740c63a178807cc0c1a563080e0adbfe143.tar.gz chromium_src-3c3ba740c63a178807cc0c1a563080e0adbfe143.tar.bz2 |
Relanding focus manager refactoring with build fix, see:http://codereview.chromium.org/125148BUG=NoneTEST=NoneTBR=ben
Review URL: http://codereview.chromium.org/141013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18889 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/infobars/infobars.cc')
-rw-r--r-- | chrome/browser/views/infobars/infobars.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/views/infobars/infobars.cc b/chrome/browser/views/infobars/infobars.cc index 12fe42e..3e19bf7 100644 --- a/chrome/browser/views/infobars/infobars.cc +++ b/chrome/browser/views/infobars/infobars.cc @@ -207,9 +207,8 @@ void InfoBar::InfoBarAdded() { // focus so that we can restore focus when we're removed. views::Widget* widget = GetWidget(); if (widget) { - focus_tracker_.reset( - new views::ExternalFocusTracker(this, - views::FocusManager::GetFocusManager(widget->GetNativeView()))); + focus_tracker_.reset(new views::ExternalFocusTracker(this, + GetFocusManager())); } #endif } |