Retain ref on passed in image data to avoid GC.
We were using the data in the buffer without retaining a ref, so it could be destroyed while we were using it. R=sandersd Bug: 1073995 Change-Id: I7e625103c3e881a47baa6e85499a1bc904efd7f0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2168822 Auto-Submit: Dale Curtis <dalecurtis@chromium.org> Reviewed-by:Dan Sanders <sandersd@chromium.org> Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#763436}
Showing
Please register or sign in to comment