| Index: chrome/browser/views/first_run_bubble.cc
|
| ===================================================================
|
| --- chrome/browser/views/first_run_bubble.cc (revision 19153)
|
| +++ chrome/browser/views/first_run_bubble.cc (working copy)
|
| @@ -343,9 +343,7 @@
|
| if (!IsWindowEnabled(GetParent()))
|
| ::EnableWindow(GetParent(), true);
|
| enable_window_method_factory_.RevokeAll();
|
| - views::FocusManager* focus_manager =
|
| - views::FocusManager::GetFocusManager(GetNativeView());
|
| - focus_manager->RemoveFocusChangeListener(view_);
|
| + GetFocusManager()->RemoveFocusChangeListener(view_);
|
| }
|
|
|
| // static
|
| @@ -362,9 +360,7 @@
|
| window->set_view(view);
|
| window->Init(parent, position_relative_to, view);
|
| window->ShowWindow(SW_SHOW);
|
| - views::FocusManager* focus_manager =
|
| - views::FocusManager::GetFocusManager(window->GetNativeView());
|
| - focus_manager->AddFocusChangeListener(view);
|
| + window->GetFocusManager()->AddFocusChangeListener(view);
|
| view->BubbleShown();
|
| return window;
|
| }
|
|
|