summaryrefslogtreecommitdiffstats
path: root/components/copresence/copresence_manager_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/copresence/copresence_manager_impl.h')
-rw-r--r--components/copresence/copresence_manager_impl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/components/copresence/copresence_manager_impl.h b/components/copresence/copresence_manager_impl.h
index bdb7ee1..0fc3280 100644
--- a/components/copresence/copresence_manager_impl.h
+++ b/components/copresence/copresence_manager_impl.h
@@ -85,12 +85,11 @@ class CopresenceManagerImpl : public CopresenceManager {
bool init_failed_;
- // This order is required because each object
- // makes calls to those listed before it.
+ // The RpcHandler makes calls to the other objects here, so it must come last.
scoped_ptr<CopresenceStateImpl> state_;
- scoped_ptr<RpcHandler> rpc_handler_;
scoped_ptr<DirectiveHandler> directive_handler_;
scoped_ptr<GCMHandler> gcm_handler_;
+ scoped_ptr<RpcHandler> rpc_handler_;
scoped_ptr<base::Timer> poll_timer_;
scoped_ptr<base::Timer> audio_check_timer_;