Index: components/arc/arc_bridge_service.h |
diff --git a/components/arc/arc_bridge_service.h b/components/arc/arc_bridge_service.h |
index 8d23d44da7cea9fe21c00f3cbb00f2113b128f52..0d3c6472b717fb907cf2f35c7c270a34cec1b7e3 100644 |
--- a/components/arc/arc_bridge_service.h |
+++ b/components/arc/arc_bridge_service.h |
@@ -18,7 +18,8 @@ namespace arc { |
// The Chrome-side service that handles ARC instances and ARC bridge creation. |
// This service handles the lifetime of ARC instances and sets up the |
// communication channel (the ARC bridge) used to send and receive messages. |
-class ArcBridgeService : public IPC::Listener { |
+class ArcBridgeService : public IPC::Listener, |
+ public base::SupportsWeakPtr<ArcBridgeService> { |
public: |
// The possible states of the bridge. In the normal flow, the state changes |
// in the following sequence: |