| Index: chrome/browser/ui/views/first_run_bubble.h
|
| diff --git a/chrome/browser/ui/views/first_run_bubble.h b/chrome/browser/ui/views/first_run_bubble.h
|
| index 9727eda3d7d2f7f335503eb10f5bde385e0c79d1..72ecd806844b6ad0058dc6f0ddcf9c77b36e9452 100644
|
| --- a/chrome/browser/ui/views/first_run_bubble.h
|
| +++ b/chrome/browser/ui/views/first_run_bubble.h
|
| @@ -6,8 +6,9 @@
|
| #define CHROME_BROWSER_UI_VIEWS_FIRST_RUN_BUBBLE_H_
|
| #pragma once
|
|
|
| +#include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| -#include "base/task.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "chrome/browser/first_run/first_run.h"
|
| #include "chrome/browser/ui/views/bubble/bubble.h"
|
|
|
| @@ -17,11 +18,11 @@ class Profile;
|
| class FirstRunBubble : public Bubble,
|
| public BubbleDelegate {
|
| public:
|
| - static FirstRunBubble* Show(
|
| - Profile* profile, views::Widget* parent,
|
| - const gfx::Rect& position_relative_to,
|
| - views::BubbleBorder::ArrowLocation arrow_location,
|
| - FirstRun::BubbleType bubble_type);
|
| + static FirstRunBubble* Show(Profile* profile,
|
| + views::Widget* parent,
|
| + const gfx::Rect& position_relative_to,
|
| + views::BubbleBorder::ArrowLocation arrow_location,
|
| + FirstRun::BubbleType bubble_type);
|
|
|
| private:
|
| FirstRunBubble();
|
| @@ -45,7 +46,7 @@ class FirstRunBubble : public Bubble,
|
| // Whether we have already been activated.
|
| bool has_been_activated_;
|
|
|
| - ScopedRunnableMethodFactory<FirstRunBubble> enable_window_method_factory_;
|
| + base::WeakPtrFactory<FirstRunBubble> enable_window_method_factory_;
|
|
|
| // The view inside the FirstRunBubble.
|
| FirstRunBubbleViewBase* view_;
|
|
|