| Index: chrome/browser/ui/views/profile_chooser_view.h
|
| diff --git a/chrome/browser/ui/views/profile_chooser_view.h b/chrome/browser/ui/views/profile_chooser_view.h
|
| index 8affea1ae6159b327ad457e3db67c8e66a5ca57d..e99d4b114c89dd14dc8ddb5feea8c113b30e2d1b 100644
|
| --- a/chrome/browser/ui/views/profile_chooser_view.h
|
| +++ b/chrome/browser/ui/views/profile_chooser_view.h
|
| @@ -50,8 +50,8 @@ class ProfileChooserView : public views::BubbleDelegateView,
|
| // We normally close the bubble any time it becomes inactive but this can lead
|
| // to flaky tests where unexpected UI events are triggering this behavior.
|
| // Tests should call this with "false" for more consistent operation.
|
| - static void set_close_on_deactivate(bool close) {
|
| - close_on_deactivate_ = close;
|
| + static void set_close_on_deactivate_for_testing(bool close) {
|
| + close_on_deactivate_for_testing_ = close;
|
| }
|
|
|
| private:
|
| @@ -89,7 +89,7 @@ class ProfileChooserView : public views::BubbleDelegateView,
|
| virtual void OnAvatarMenuChanged(AvatarMenu* avatar_menu) OVERRIDE;
|
|
|
| static ProfileChooserView* profile_bubble_;
|
| - static bool close_on_deactivate_;
|
| + static bool close_on_deactivate_for_testing_;
|
|
|
| void ResetLinksAndButtons();
|
|
|
|
|