commit | c014bf5e07c6d9f7e2b4945b95d762b296177675 | [log] [tgz] |
---|---|---|
author | junov <junov@chromium.org> | Tue Dec 15 21:31:50 2015 |
committer | Commit bot <commit-bot@chromium.org> | Tue Dec 15 21:32:34 2015 |
tree | a64c651f4f274e9bffa68722cc4350afbe6fb1ea | |
parent | 83be314f40f7f93454d06f176a031fd2e7aae512 [diff] |
Adding 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 Review URL: https://codereview.chromium.org/1529903002 Cr-Commit-Position: refs/heads/master@{#365331}