Chromium Code Reviews
DescriptionFix SetStreamTextureSize crash
We currently do not properly report initialization failures in the
StreamTextureWrapperImpl. This means that we can be left in a state
where the |stream_texture_proxy_| is null after initialization.
This change modifies the MediaPlayerRendererClient's init sequence to
properly error out early and abort initialization when we are not able
to create a StreamTextureProxy. It also adds a safeguard to avoid a
null dereference in StreamTextureWrapperImpl::UpdateTextureSize().
BUG=671358
TEST=Manualy verified playing HLS still works.
Committed: https://crrev.com/08543d080630ba84936851881fecd2dd37e889be
Cr-Commit-Position: refs/heads/master@{#437060}
Patch Set 1 #Patch Set 2 : Style changes #
Total comments: 6
Patch Set 3 : Addressed comments #
Messages
Total messages: 20 (14 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||