diff --git a/pc/peer_connection_interface_unittest.cc b/pc/peer_connection_interface_unittest.cc index 505fe6b9b1..e3d0ab61a3 100644 --- a/pc/peer_connection_interface_unittest.cc +++ b/pc/peer_connection_interface_unittest.cc @@ -3908,7 +3908,7 @@ TEST_P(PeerConnectionInterfaceTest, ExtmapAllowMixedIsConfigurable) { // Possible to set to false. config.offer_extmap_allow_mixed = false; CreatePeerConnection(config); - offer.release(); + offer = nullptr; ASSERT_TRUE(DoCreateOffer(&offer, nullptr)); EXPECT_FALSE(offer->description()->extmap_allow_mixed()); }