| Index: chrome/browser/ui/views/profile_chooser_view.cc
|
| diff --git a/chrome/browser/ui/views/profile_chooser_view.cc b/chrome/browser/ui/views/profile_chooser_view.cc
|
| index 3c53784f51fe5a2c804d29f8a67a3f2d96ce60a1..8d11917f8a5b02ec752d01b0663cf4611c2fa8f0 100644
|
| --- a/chrome/browser/ui/views/profile_chooser_view.cc
|
| +++ b/chrome/browser/ui/views/profile_chooser_view.cc
|
| @@ -181,7 +181,7 @@ class BackgroundColorHoverButton : public views::TextButton {
|
|
|
| // static
|
| ProfileChooserView* ProfileChooserView::profile_bubble_ = NULL;
|
| -bool ProfileChooserView::close_on_deactivate_ = true;
|
| +bool ProfileChooserView::close_on_deactivate_for_testing_ = true;
|
|
|
| // static
|
| void ProfileChooserView::ShowBubble(
|
| @@ -197,7 +197,7 @@ void ProfileChooserView::ShowBubble(
|
| profile_bubble_ = new ProfileChooserView(
|
| anchor_view, arrow, anchor_rect, browser);
|
| views::BubbleDelegateView::CreateBubble(profile_bubble_);
|
| - profile_bubble_->set_close_on_deactivate(close_on_deactivate_);
|
| + profile_bubble_->set_close_on_deactivate(close_on_deactivate_for_testing_);
|
| profile_bubble_->SetAlignment(border_alignment);
|
| profile_bubble_->GetWidget()->Show();
|
| profile_bubble_->SetArrowPaintType(views::BubbleBorder::PAINT_NONE);
|
|
|