DescriptionImprove robustness of lost context checks in Canvas2DLayerBridge
To avoid crashes caused by unexpected inconsistent states when a GPU
context loss occurs, we make Canvas2DLayerBridge::contextGL return
null when the checkSurfaceValid fails in order to allow calling code
to abort cleanly by performing null checks on the return of contextGL.
BUG=598712
Committed: https://crrev.com/5d0d1d13c683a3a8b9a200332e9d479d5d14d4f1
Cr-Commit-Position: refs/heads/master@{#391096}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 14 (7 generated)
|