-
Yuwei Huang authored
RendererProxy is used mainly on the UI thread, but it is deleted on the display thread because GlDisplayRenderer binds its WeakPtrFactory to the display thread when initializing it. This forces QueuedTaskPoster to be deleted on the wrong thread, which may be a source of crash. You can see more details in the bug. This CL resolves this by making GlDisplayRenderer::Core initialize RendererProxy on the UI thread. Bug: 872944 Change-Id: I37dbd20aad80dd05e4eb0ad410c339fdfa5053c5 Reviewed-on: https://chromium-review.googlesource.com/1170133 Commit-Queue: Yuwei Huang <yuweih@chromium.org> Reviewed-by:
Jamie Walch <jamiewalch@chromium.org> Reviewed-by:
Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/master@{#582674}
3915a08a