summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-14 13:09:07 +0000
committerfinnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-14 13:09:07 +0000
commitf448e045a33908ebcdb13c10d0c56e849bfeee9e (patch)
tree99c356378f0bf8b84b43b8c564695bf99a9431cb
parentbcb36415fa1c0c895dd38a8d49f804a80fa52752 (diff)
downloadchromium_src-f448e045a33908ebcdb13c10d0c56e849bfeee9e.zip
chromium_src-f448e045a33908ebcdb13c10d0c56e849bfeee9e.tar.gz
chromium_src-f448e045a33908ebcdb13c10d0c56e849bfeee9e.tar.bz2
Uninitialized member in IpcPacketSocket.
BUG=None TEST=None CID=17069 Review URL: http://codereview.chromium.org/7134072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88981 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--content/renderer/p2p/ipc_socket_factory.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/content/renderer/p2p/ipc_socket_factory.cc b/content/renderer/p2p/ipc_socket_factory.cc
index 4a1bb84..5a6d058 100644
--- a/content/renderer/p2p/ipc_socket_factory.cc
+++ b/content/renderer/p2p/ipc_socket_factory.cc
@@ -88,8 +88,10 @@ class IpcPacketSocket : public talk_base::AsyncPacketSocket,
};
IpcPacketSocket::IpcPacketSocket()
- : message_loop_(MessageLoop::current()),
- state_(IS_UNINITIALIZED), error_(0) {
+ : type_(P2P_SOCKET_UDP),
+ message_loop_(MessageLoop::current()),
+ state_(IS_UNINITIALIZED),
+ error_(0) {
}
IpcPacketSocket::~IpcPacketSocket() {