angler-fishThe Vulnerability History Project

Use WeakPtr for RTCPeerConnectionHandler and RTCPeerConnectionTracker.

      These objects don't have the same lifetime and we were using raw pointers to them  in a few places, which could lead to use-after-free.

BUG=429477
TBR=perkj@chromium.org
NOTRY=true

Review URL: https://codereview.chromium.org/698803002

Cr-Commit-Position: refs/heads/master@{#302398}
    
commit 2c0f13b39d6ff1a867385e1acb7e6793a0440519
+1 -4
+32 -36
+4 -2
+2 -2
expand_less