|
|
Chromium Code Reviews|
Created:
4 years, 1 month ago by Alexander Alekseev Modified:
4 years ago Reviewers:
nhiroki CC:
chromium-reviews, blink-reviews, kinuko+fileapi, tzik Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionWebKit: remove DCHECK_IS_ON from FileWriterSync.
This CL removes checks for DCHECK_IS_ON in FileWriterSync as they are not used.
(DCHECK macro requires its arguments to be buildable even if check itself is
disabled.) So this CL fixes build in case we want debug build with DCHECKs
disabled.
R=nhiroki@chromium.org
BUG=666660
Committed: https://crrev.com/c9600cd059f7aa0231a89fa2817c4ffca0454122
Cr-Commit-Position: refs/heads/master@{#436473}
Patch Set 1 #Patch Set 2 : After git cl format #Patch Set 3 : Rebased. #Patch Set 4 : Guard m_complete with #ifdefs #Patch Set 5 : Reverted "Guard with #ifdefs" #
Messages
Total messages: 38 (21 generated)
This is third_party/WebKit/Source/modules/filesystem/ part of https://codereview.chromium.org/2513893002/ . Please review.
I'm not sure if it's a good idea to increase sizeof(DOM object) for dcheck-only variables. In this specific case, sizeof(FileWriterSync) won't matter though.
LGTM unless this doesn't degrade performance. On 2016/11/23 08:15:59, haraken wrote: > I'm not sure if it's a good idea to increase sizeof(DOM object) for dcheck-only > variables. > > In this specific case, sizeof(FileWriterSync) won't matter though. It'd be nice if there is a more handy mechanism to check something only on debug builds.
The CQ bit was checked by alemate@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: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by alemate@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...)
The CQ bit was checked by alemate@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from nhiroki@chromium.org Link to the patchset: https://codereview.chromium.org/2524813003/#ps20001 (title: "After git cl format")
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: blimp_linux_dbg on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
The CQ bit was checked by alemate@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_...)
The CQ bit was checked by alemate@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.
Hiroki, PTAL. I put back all #ifdef DCHECK_IS_ON() because of Windows trybot. It looks like a race condition, or something that I cannot debug (I don't have Windows machine to test that). What do you think?
On 2016/12/02 12:18:29, Alexander Alekseev wrote: > Hiroki, PTAL. > > I put back all #ifdef DCHECK_IS_ON() because of Windows trybot. It looks like a > race condition, or something that I cannot debug (I don't have Windows machine > to test that). > > What do you think? I ran your PatchSet-3 on trybots and apparently it's working well: https://codereview.chromium.org/2549063002/ Could you try to land it again?
The CQ bit was checked by alemate@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 alemate@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from nhiroki@chromium.org Link to the patchset: https://codereview.chromium.org/2524813003/#ps80001 (title: "Reverted "Guard with #ifdefs"")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 80001, "attempt_start_ts": 1480984845591500,
"parent_rev": "0451e67999b475d57f9bbd2e8e113335811a08cf", "commit_rev":
"91688a0f1f8c31d353946437b6e069546176267e"}
Message was sent while issue was closed.
Committed patchset #5 (id:80001)
Message was sent while issue was closed.
On 2016/12/05 11:07:19, nhiroki wrote: > On 2016/12/02 12:18:29, Alexander Alekseev wrote: > > Hiroki, PTAL. > > > > I put back all #ifdef DCHECK_IS_ON() because of Windows trybot. It looks like > a > > race condition, or something that I cannot debug (I don't have Windows machine > > to test that). > > > > What do you think? > > I ran your PatchSet-3 on trybots and apparently it's working well: > https://codereview.chromium.org/2549063002/ > > Could you try to land it again? Yes, it worked. Thank you!
Message was sent while issue was closed.
Description was changed from ========== WebKit: remove DCHECK_IS_ON from FileWriterSync. This CL removes checks for DCHECK_IS_ON in FileWriterSync as they are not used. (DCHECK macro requires its arguments to be buildable even if check itself is disabled.) So this CL fixes build in case we want debug build with DCHECKs disabled. R=nhiroki@chromium.org BUG=666660 ========== to ========== WebKit: remove DCHECK_IS_ON from FileWriterSync. This CL removes checks for DCHECK_IS_ON in FileWriterSync as they are not used. (DCHECK macro requires its arguments to be buildable even if check itself is disabled.) So this CL fixes build in case we want debug build with DCHECKs disabled. R=nhiroki@chromium.org BUG=666660 Committed: https://crrev.com/c9600cd059f7aa0231a89fa2817c4ffca0454122 Cr-Commit-Position: refs/heads/master@{#436473} ==========
Message was sent while issue was closed.
Patchset 5 (id:??) landed as https://crrev.com/c9600cd059f7aa0231a89fa2817c4ffca0454122 Cr-Commit-Position: refs/heads/master@{#436473} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
