diff options
author | grunell@chromium.org <grunell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-30 12:16:02 +0000 |
---|---|---|
committer | grunell@chromium.org <grunell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-30 12:16:02 +0000 |
commit | b64813ba16455993a9dcad47c070543a8825d44d (patch) | |
tree | 62235af8c4268890680a92bd820d184a22c94243 /content | |
parent | 681d5ae61568fa5e5149027edad6a616bbfd081d (diff) | |
download | chromium_src-b64813ba16455993a9dcad47c070543a8825d44d.zip chromium_src-b64813ba16455993a9dcad47c070543a8825d44d.tar.gz chromium_src-b64813ba16455993a9dcad47c070543a8825d44d.tar.bz2 |
Ensuring we crash directly if creating native PeerConnection object fails.
BUG=111841
TEST=content_unittests
Review URL: https://chromiumcodereview.appspot.com/9298055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119662 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/renderer/media/peer_connection_handler.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/renderer/media/peer_connection_handler.cc b/content/renderer/media/peer_connection_handler.cc index 51cfb10..10afa7a 100644 --- a/content/renderer/media/peer_connection_handler.cc +++ b/content/renderer/media/peer_connection_handler.cc @@ -54,6 +54,7 @@ void PeerConnectionHandler::initialize( native_peer_connection_ = dependency_factory_->CreatePeerConnection( UTF16ToUTF8(server_configuration), this); + CHECK(native_peer_connection_); } void PeerConnectionHandler::produceInitialOffer( |