| Index: chrome/browser/metrics/metrics_service.h
|
| diff --git a/chrome/browser/metrics/metrics_service.h b/chrome/browser/metrics/metrics_service.h
|
| index 359b09f6b4d2a2205f53b19b10d479b1d51a6edc..d3deb056a43a462c65acbca3b7a4eb23665f5060 100644
|
| --- a/chrome/browser/metrics/metrics_service.h
|
| +++ b/chrome/browser/metrics/metrics_service.h
|
| @@ -15,6 +15,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/gtest_prod_util.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/process_util.h"
|
| #include "chrome/browser/io_thread.h"
|
| @@ -369,7 +370,7 @@ class MetricsService : public content::NotificationObserver,
|
| std::map<string16, ChildProcessStats> child_process_stats_buffer_;
|
|
|
| ScopedRunnableMethodFactory<MetricsService> log_sender_factory_;
|
| - ScopedRunnableMethodFactory<MetricsService> state_saver_factory_;
|
| + base::WeakPtrFactory<MetricsService> state_saver_factory_;
|
|
|
| // Dictionary containing all the profile specific metrics. This is set
|
| // at creation time from the prefs.
|
|
|