| Index: services/shell/public/cpp/shell_connection_ref.h
|
| diff --git a/services/shell/public/cpp/shell_connection_ref.h b/services/shell/public/cpp/shell_connection_ref.h
|
| index 29444bed5bdc28e759e17c7bda22985a2e4da11c..b22e12ea3d6755a0f78011baa405374ca61e9984 100644
|
| --- a/services/shell/public/cpp/shell_connection_ref.h
|
| +++ b/services/shell/public/cpp/shell_connection_ref.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/callback.h"
|
| #include "base/macros.h"
|
| +#include "base/memory/weak_ptr.h"
|
|
|
| namespace shell {
|
|
|
| @@ -48,6 +49,7 @@ class ShellConnectionRefFactory {
|
|
|
| const base::Closure quit_closure_;
|
| int ref_count_ = 0;
|
| + base::WeakPtrFactory<ShellConnectionRefFactory> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ShellConnectionRefFactory);
|
| };
|
|
|