Index: remoting/host/client_session.h |
diff --git a/remoting/host/client_session.h b/remoting/host/client_session.h |
index f9fdd3bd5c25de4e63bc9839a8b1d2cfe2ba76cf..6b4d0f7abc99bf791ce0285095b5755548f0563c 100644 |
--- a/remoting/host/client_session.h |
+++ b/remoting/host/client_session.h |
@@ -173,10 +173,6 @@ class ClientSession |
std::string client_jid_; |
- // Used to disable callbacks to |this| once DisconnectSession() has been |
- // called. |
- base::WeakPtrFactory<ClientSessionControl> control_factory_; |
- |
// Used to create a DesktopEnvironment instance for this session. |
DesktopEnvironmentFactory* desktop_environment_factory_; |
@@ -263,6 +259,10 @@ class ClientSession |
bool lossless_video_encode_; |
bool lossless_video_color_; |
+ // Used to disable callbacks to |this| once DisconnectSession() has been |
+ // called. |
+ base::WeakPtrFactory<ClientSessionControl> weak_factory_; |
+ |
DISALLOW_COPY_AND_ASSIGN(ClientSession); |
}; |