Allow HostGpuMemoryBufferManager to add connection error handler for GpuService
Whenever HostGpuMemoryBufferManager tries to get the GpuService instance using GpuServiceProvider callback, it also sends a callback to be used as the connection error handler for the GpuService. The code is also updated such that the provider callback is called only when GpuService has changed and the return value is cached. BUG=733482 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel Change-Id: I7f30dc4fd63fe079a02f6c2484ac14c75da3c36a Reviewed-on: https://chromium-review.googlesource.com/1161211 Commit-Queue: Mohsen Izadi <mohsen@chromium.org> Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Cr-Commit-Position: refs/heads/master@{#582089}
Showing
Please register or sign in to comment