Descriptiongpu: Fix webview parent compositor crash in context loss
Android WebView parent compositor runs a thread without an message loop,
ie MessageLoop[Proxy]::current returns null. This means any WrapCallback
will crash immediately when called.
This is a hack-ish fix to just check for this case and call through
immediately, as the client thread and the gpu thread will be the same.
BUG=
Committed: https://crrev.com/afd978c6880d94df9cd488c2e78c4bff7b9de58f
Cr-Commit-Position: refs/heads/master@{#299742}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|