Index: chrome/browser/ui/views/status_bubble_views.cc |
diff --git a/chrome/browser/ui/views/status_bubble_views.cc b/chrome/browser/ui/views/status_bubble_views.cc |
index f52073768d9442026c85f0c004fea6dd206fce63..c578baa6d8c3503810c42f4f6973a4649efa5af9 100644 |
--- a/chrome/browser/ui/views/status_bubble_views.cc |
+++ b/chrome/browser/ui/views/status_bubble_views.cc |
@@ -171,8 +171,6 @@ class StatusBubbleViews::StatusView : public views::View { |
BubbleState state_; |
BubbleStyle style_; |
- base::WeakPtrFactory<StatusBubbleViews::StatusView> timer_factory_; |
- |
scoped_ptr<StatusViewAnimation> animation_; |
// Handle to the widget that contains us. |
@@ -184,6 +182,8 @@ class StatusBubbleViews::StatusView : public views::View { |
// Holds the theme provider of the frame that created us. |
ui::ThemeProvider* theme_service_; |
+ base::WeakPtrFactory<StatusBubbleViews::StatusView> timer_factory_; |
+ |
DISALLOW_COPY_AND_ASSIGN(StatusView); |
}; |
@@ -191,10 +191,10 @@ StatusBubbleViews::StatusView::StatusView(views::Widget* popup, |
ui::ThemeProvider* theme_provider) |
: state_(BUBBLE_HIDDEN), |
style_(STYLE_STANDARD), |
- timer_factory_(this), |
animation_(new StatusViewAnimation(this, 0, 0)), |
popup_(popup), |
- theme_service_(theme_provider) { |
+ theme_service_(theme_provider), |
+ timer_factory_(this) { |
} |
StatusBubbleViews::StatusView::~StatusView() { |