Remove CHECK calls from ScopedResultPtr |
|||
Issue descriptionThere are a few CHECK calls in ScopedResultPtr/TransferBuffer, added here: http://crrev.com/c/1336753 Once we are satisfied there are no issues in the wild we can change these to DCHECKs. We can then also stop setting outstanding_result_pointer_ when DCHECKs are disabled.
,
Dec 10
,
Dec 11
,
Dec 11
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9c995a82acfcfc47c8650c5edea8e5e6c28d7893 commit 9c995a82acfcfc47c8650c5edea8e5e6c28d7893 Author: James Darpinian <jdarpinian@chromium.org> Date: Tue Dec 11 22:00:24 2018 gpu: Change CHECK to DCHECK in transfer buffer As requested in the review of https://crrev.com/c/1336753. After https://crbug.com/913996 is fixed we can remove outstanding_result_pointer_ entirely when DCHECKs are disabled. It also turns out that we can't use the string argument to ASSERT_DEATH to detect a CHECK message in a test because the message strings are stripped in official builds. Bug: 905890, 913421 , 913996 Change-Id: Ia7df19057564ef7a4bbbab9ba36f583c6e6bca0f Reviewed-on: https://chromium-review.googlesource.com/c/1370484 Commit-Queue: James Darpinian <jdarpinian@chromium.org> Reviewed-by: Kenneth Russell <kbr@chromium.org> Cr-Commit-Position: refs/heads/master@{#615680} [modify] https://crrev.com/9c995a82acfcfc47c8650c5edea8e5e6c28d7893/gpu/command_buffer/client/transfer_buffer.cc [modify] https://crrev.com/9c995a82acfcfc47c8650c5edea8e5e6c28d7893/gpu/command_buffer/client/transfer_buffer_unittest.cc
,
Dec 11
After 913996 is fixed I will remove outstanding_result_pointer_ in release builds. |
|||
►
Sign in to add a comment |
|||
Comment 1 by bugdroid1@chromium.org
, Nov 16