summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorimcheng@chromium.org <imcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-19 20:43:44 +0000
committerimcheng@chromium.org <imcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-19 20:43:44 +0000
commit3064e4ca875687c7051c7f7575aecbedeeba8dfd (patch)
tree49099d6a4da32ba4e819f92ea80863044a8b4427 /skia
parent0bed9f3847af78c4a074b80211baabc9370858bf (diff)
downloadchromium_src-3064e4ca875687c7051c7f7575aecbedeeba8dfd.zip
chromium_src-3064e4ca875687c7051c7f7575aecbedeeba8dfd.tar.gz
chromium_src-3064e4ca875687c7051c7f7575aecbedeeba8dfd.tar.bz2
Cast: Fix crash in cast streaming api if starting stream before UDP.
If the user of cast streaming api tries to call rtpStream.start before udpTransport.setDestination, CastSessionDelegate now detects this and calls rtpStream.onError instead of crashing due to null pointer. The CastRtpStream object will be reset as well. Since the code to call CastSessionDelegate is asynchronous, rtpStream.onStarted will still be called in this case. rtpStream.onError will be called later when the CastSessionDelegate code actually runs. Consolidated comments by moving them from cast_session_delegate.h to cast_session.h. BUG=351506 Review URL: https://codereview.chromium.org/195993004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258081 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
0 files changed, 0 insertions, 0 deletions