summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorgrunell@chromium.org <grunell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-30 12:16:02 +0000
committergrunell@chromium.org <grunell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-30 12:16:02 +0000
commitb64813ba16455993a9dcad47c070543a8825d44d (patch)
tree62235af8c4268890680a92bd820d184a22c94243 /content
parent681d5ae61568fa5e5149027edad6a616bbfd081d (diff)
downloadchromium_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.cc1
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(