Index: remoting/host/desktop_session_agent.h |
diff --git a/remoting/host/desktop_session_agent.h b/remoting/host/desktop_session_agent.h |
index b971b6fff73761a022ad8e8d606f212f2b383535..90a23cb1a8e94ee2b71fa462aac725621d565b2f 100644 |
--- a/remoting/host/desktop_session_agent.h |
+++ b/remoting/host/desktop_session_agent.h |
@@ -179,9 +179,6 @@ class DesktopSessionAgent |
std::string client_jid_; |
- // Used to disable callbacks to |this|. |
- base::WeakPtrFactory<ClientSessionControl> control_factory_; |
- |
base::WeakPtr<Delegate> delegate_; |
// The DesktopEnvironment instance used by this agent. |
@@ -228,6 +225,9 @@ class DesktopSessionAgent |
// before it's received. |
scoped_ptr<webrtc::DesktopFrame> last_frame_; |
+ // Used to disable callbacks to |this|. |
+ base::WeakPtrFactory<DesktopSessionAgent> weak_factory_; |
+ |
DISALLOW_COPY_AND_ASSIGN(DesktopSessionAgent); |
}; |