Avoid touching gfx::Image from multiple thread in devtools page_handler
PageHandler::ScreencastFrameCaptured creates a gfx::Image and uses it on another sequence. However, the usage causes a data race as gfx::Image has a non-threadsafe ref count internally, and its copies can't cross sequences. Bug: 600237, 725706 Change-Id: I645d529db1b8887b3c67f81a7916cdab0940b1d0 Reviewed-on: https://chromium-review.googlesource.com/513665Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Taiju Tsuiki (tzik) <tzik@google.com> Cr-Commit-Position: refs/heads/master@{#474952}
Showing
Please register or sign in to comment