viz: Destroy |gpu_memory_buffer_factory_| on IOThread
|gpu_memory_buffer_factory_| weak pointers are checked on the IOThread. Weak pointers should be invalidated on the same thread that checks them. This CL moves the destruction of |gpu_memory_buffer_factory_| on the IOThread to avoid possible use after free issues. Bug: 1152645 Change-Id: I0d42814f0e435a3746728515da1f32d08a1252cf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2563077 Commit-Queue: Daniele Castagna <dcastagna@chromium.org> Reviewed-by:Andres Calderon Jaramillo <andrescj@chromium.org> Cr-Commit-Position: refs/heads/master@{#836827}
Showing
Please register or sign in to comment