DescriptionFix crash in Canvas2DLayerBridge flushing + reliability metrics
This change fixes a crash that occured when an SkSurface allocation
failure happened while switching a canvas to non-deferred rendering
mode. This failure induced an inconsistent state that was causing
a crash the next time the canvas was flushed. The allocation failure
that was causing the crash will now fail silently. New histogram
metrics will track the prevalence of these allocation failures.
BUG=576496
Committed: https://crrev.com/826ccd3c4bd0a6639fb70899cc94c33bc2dc9385
Cr-Commit-Position: refs/heads/master@{#369565}
Patch Set 1 #Patch Set 2 : test fix #
Depends on Patchset: Messages
Total messages: 12 (5 generated)
|