summaryrefslogtreecommitdiffstats
path: root/chrome/common/ipc_sync_channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/ipc_sync_channel.h')
-rw-r--r--chrome/common/ipc_sync_channel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/common/ipc_sync_channel.h b/chrome/common/ipc_sync_channel.h
index bd473d4..fa3566e 100644
--- a/chrome/common/ipc_sync_channel.h
+++ b/chrome/common/ipc_sync_channel.h
@@ -128,7 +128,9 @@ class SyncChannel : public ChannelProxy {
PendingSyncMessageQueue deserializers_;
Lock deserializers_lock_;
- scoped_refptr<ReceivedSyncMsgQueue> received_sync_msgs_;
+ // This can't be a scoped_refptr because it needs to be released on the
+ // listener thread.
+ ReceivedSyncMsgQueue* received_sync_msgs_;
bool channel_closed_;
bool reply_deserialize_result_;