gpu: Fix race when establishing GPU channel

This patch fixes a crash when a GPU channel is established on the IO
thread while the BrowserGpuChannelHostFactory is being terminated on the
UI thread. If the factory has gone away when the channel is established,
don't try to set another timeout to re-establish it.

Bug: 863341
Change-Id: I084de6110d0de3a1eedf29d81211eb62405f1376
Reviewed-on: https://chromium-review.googlesource.com/c/1456061
Auto-Submit: Sami Kyöstilä <skyostil@chromium.org>
Commit-Queue: Zhenyao Mo <zmo@chromium.org>
Reviewed-by: Zhenyao Mo <zmo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#629820}
1 file changed