|
|
Created:
4 years, 3 months ago by Justin Novosad Modified:
4 years, 3 months ago CC:
chromium-reviews, dshwang, ajuma+watch-canvas_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, Rik, blink-reviews Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionFix crash and potential crashes caused by ImageBuffer allocation failure.
This CL add null ptr checks in a few places that need them.
BUG=644644
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel
Committed: https://crrev.com/9d280866e11c2c038005452c8d14fb3ffa91ac2c
Cr-Commit-Position: refs/heads/master@{#418563}
Patch Set 1 #
Total comments: 2
Patch Set 2 : fix++ #
Messages
Total messages: 38 (22 generated)
The CQ bit was checked by junov@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
junov@chromium.org changed reviewers: + xidachen@chromium.org
PTAL
Please also null check: WebGLRenderingContextBase.cpp:4266 https://codereview.chromium.org/2335263002/diff/1/third_party/WebKit/Source/c... File third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp (right): https://codereview.chromium.org/2335263002/diff/1/third_party/WebKit/Source/c... third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp:307: if (m_context->is2d() && buffer()->isAccelerated() should we worry about this call site? https://codereview.chromium.org/2335263002/diff/1/third_party/WebKit/Source/c... third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp:326: if (m_pendingRenderingModeSwitch && !buffer()->isAccelerated()) { This one as well?
Description was changed from ========== Fix crash in canvas.toBlob caused by allocation failure BUG=644644 ========== to ========== Fix crash in canvas.toBlob caused by allocation failure BUG=644644 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel ==========
The CQ bit was checked by junov@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Fix crash in canvas.toBlob caused by allocation failure BUG=644644 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel ========== to ========== Fix crash and potential crashes caused by ImageBuffer allocation failure. This CL add null ptr checks in a few places that need them. BUG=644644 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel ==========
Done.
lgtm
The CQ bit was unchecked by junov@chromium.org
The CQ bit was checked by junov@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
On 2016/09/13 17:27:58, commit-bot: I haz the power wrote: > Try jobs failed on following builders: > chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, > http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...) I am not the OWNER, you may need senorblanco@'s L-G-T-M
xidachen@chromium.org changed reviewers: + senorblanco@chromium.org
+senorblanco@: needs L-G-T-M from an OWNER of modules/
junov@chromium.org changed reviewers: + kbr@chromium.org - senorblanco@chromium.org
+ kbr for webgl OWNER
Seems fine. LGTM
The CQ bit was checked by junov@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
senorblanco@chromium.org changed reviewers: + senorblanco@chromium.org
LGTM
The CQ bit was checked by xidachen@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by xidachen@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Fix crash and potential crashes caused by ImageBuffer allocation failure. This CL add null ptr checks in a few places that need them. BUG=644644 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel ========== to ========== Fix crash and potential crashes caused by ImageBuffer allocation failure. This CL add null ptr checks in a few places that need them. BUG=644644 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Fix crash and potential crashes caused by ImageBuffer allocation failure. This CL add null ptr checks in a few places that need them. BUG=644644 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel ========== to ========== Fix crash and potential crashes caused by ImageBuffer allocation failure. This CL add null ptr checks in a few places that need them. BUG=644644 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.win:win_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/9d280866e11c2c038005452c8d14fb3ffa91ac2c Cr-Commit-Position: refs/heads/master@{#418563} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/9d280866e11c2c038005452c8d14fb3ffa91ac2c Cr-Commit-Position: refs/heads/master@{#418563} |