| Index: chrome/browser/net/predictor.cc
|
| diff --git a/chrome/browser/net/predictor.cc b/chrome/browser/net/predictor.cc
|
| index 54c03fae91576a50dd792de8ac5a168008cf11c3..c47a1be7ac86a228c69a20b14f31e20c1bfeae4a 100644
|
| --- a/chrome/browser/net/predictor.cc
|
| +++ b/chrome/browser/net/predictor.cc
|
| @@ -697,10 +697,10 @@ void Predictor::FinalizeInitializationOnIOThread(
|
| initial_observer_.reset(new InitialObserver());
|
| host_resolver_ = io_thread->globals()->host_resolver.get();
|
|
|
| - // ScopedRunnableMethodFactory instances need to be created and destroyed
|
| + // base::WeakPtrFactory instances need to be created and destroyed
|
| // on the same thread. The predictor lives on the IO thread and will die
|
| // from there so now that we're on the IO thread we need to properly
|
| - // initialize the ScopedrunnableMethodFactory.
|
| + // initialize the base::WeakPtrFactory.
|
| // TODO(groby): Check if WeakPtrFactory has the same constraint.
|
| weak_factory_.reset(new base::WeakPtrFactory<Predictor>(this));
|
|
|
|
|