Chromium Code Reviews
DescriptionFix OnChannelError() in StreamTextureHost
StreamTextureHost is always created with a valid |route_id|, and it also
does not handle OnChannelError().
This change removes the useless |route_id| checks, sets |channel_| to
nullptr when OnChannelError() is called, and adds appropriate |channel_|
null checks.
This change also removes raw pointers from StreamTextureProxy, to fix
style conformance and StreamTextureHost ownership clearer.
BUG=667162
Committed: https://crrev.com/3717d9ae21d551d001edce8d6c269149676541a2
Cr-Commit-Position: refs/heads/master@{#434715}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Addressed comments #
Messages
Total messages: 20 (11 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||