diff options
Diffstat (limited to 'views/focus/focus_manager_unittest.cc')
-rw-r--r-- | views/focus/focus_manager_unittest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/views/focus/focus_manager_unittest.cc b/views/focus/focus_manager_unittest.cc index cc56271..7fff0bd 100644 --- a/views/focus/focus_manager_unittest.cc +++ b/views/focus/focus_manager_unittest.cc @@ -119,7 +119,7 @@ class BorderView : public NativeControl { parent_container, NULL, NULL, NULL); // Create the view container which is a child of the TabControl. widget_ = new WidgetWin(); - widget_->Init(tab_control, gfx::Rect(), false); + widget_->Init(tab_control, gfx::Rect()); widget_->SetContentsView(child_); widget_->SetFocusTraversableParentView(this); ResizeContents(tab_control); @@ -210,7 +210,8 @@ class FocusManagerTest : public testing::Test, public WindowDelegate { } FocusManager* GetFocusManager() { - return FocusManager::GetFocusManager(window_->GetNativeWindow()); + return FocusManager::GetFocusManagerForNativeView( + window_->GetNativeWindow()); } // WindowDelegate Implementation. |