Chromium Code Reviews
DescriptionWebKit: make #if DCHECK_IS_ON consistent in third_party/WebKit/Source/platform/
This CL addresses a few problems with #ifdefs:
1) DCHECK requires the presence of variables used in it even if DCHECK_IS_ON()
evaluates to 0. Therefore, if debug variable is defined only when DCHECK_IS_ON()
is true, its usage must be guarded the same way.
2) If debug method in base class is defined only when DCHECK_IS_ON() is true,
its descendants must be guarded with the same check.
BUG=666660
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/bf362660fce245a3bf521fa2caca26b00e2f055a
Cr-Commit-Position: refs/heads/master@{#434149}
Patch Set 1 #
Total comments: 3
Messages
Total messages: 16 (11 generated)
|