DescriptionAdding some nullptr checks around calls to Canvas2DLayerBridge::getOrCreateSurface
This change is to make canvas more resilient to memory allocation
failures and GPU context losses by dropping content instead of
crashing the render process.
BUG=569971
Committed: https://crrev.com/c014bf5e07c6d9f7e2b4945b95d762b296177675
Cr-Commit-Position: refs/heads/master@{#365331}
Patch Set 1 #
Total comments: 1
Depends on Patchset: Messages
Total messages: 8 (3 generated)
|