summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
Diffstat (limited to 'content')
-rw-r--r--content/common/np_channel_base.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/content/common/np_channel_base.cc b/content/common/np_channel_base.cc
index 2db501f..d9b2e42 100644
--- a/content/common/np_channel_base.cc
+++ b/content/common/np_channel_base.cc
@@ -35,6 +35,10 @@ NPChannelBase* NPChannelBase::GetChannel(
channel = factory();
} else {
channel = iter->second;
+#if defined(OS_POSIX)
+ // Investigation for crbug.com/97285.
+ CHECK(channel->channel_valid() || channel_handle.socket.fd != -1);
+#endif
}
DCHECK(channel != NULL);