Prevent crash in WebMediaPlayerMS when replacing WebLayer*.
The WebLayer* given to SetWebLayer() must be kept alive until /after/ the next call to SetWebLayer(), as the client will hold and use that pointer, including inside the next SetWebLayer() call. R=xhwang@chromium.org Bug: 843114 Change-Id: Iee4bc139f02f918f60e7b13455ed2b47bedaa1b9 Reviewed-on: https://chromium-review.googlesource.com/1059698 Commit-Queue: danakj <danakj@chromium.org> Reviewed-by:Xiaohan Wang <xhwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#558848}
Showing
Please register or sign in to comment