Chromium Code Reviews
Descriptionmus-gpu: Fix a couple of issues with MojoGpuMemoryBufferManager.
. Make sure the weak pointer is checked and invalidated in the correct
thread. To do this: initialize the weak pointer in the memory thread,
so that it can then be used to create a callback in any thread. But
make sure this callback is checked in the same memory thread.
. Take a connection to mojom::GpuService as an input to the constructor,
instead of getting the connection from the service_manager. This will
be necessary when the connections are created by InterfaceProvider
instead of by Connector (when running in chrome-renderer).
BUG=643746
Committed: https://crrev.com/a43aec3076a466005383d7db0d6926951c6f1623
Cr-Commit-Position: refs/heads/master@{#433593}
Patch Set 1 #
Messages
Total messages: 15 (10 generated)
|
|||||||||||||||||||||||||||||||||||||