summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/find_bar_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/find_bar_win.cc')
-rw-r--r--chrome/browser/views/find_bar_win.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/views/find_bar_win.cc b/chrome/browser/views/find_bar_win.cc
index 51e1b20..4272ef7 100644
--- a/chrome/browser/views/find_bar_win.cc
+++ b/chrome/browser/views/find_bar_win.cc
@@ -95,12 +95,13 @@ FindBarWin::FindBarWin(BrowserView* browser_view)
// Initialize the host.
host_.reset(new Host(this));
- host_->Init(browser_view->GetWidget()->GetNativeView(), gfx::Rect(), false);
+ host_->Init(browser_view->GetWidget()->GetNativeView(), gfx::Rect());
host_->SetContentsView(view_);
// Start listening to focus changes, so we can register and unregister our
// own handler for Escape.
- focus_manager_ = views::FocusManager::GetFocusManager(host_->GetNativeView());
+ focus_manager_ =
+ views::FocusManager::GetFocusManagerForNativeView(host_->GetNativeView());
focus_manager_->AddFocusChangeListener(this);
// Stores the currently focused view, and tracks focus changes so that we can