DescriptionMake ifdefs consistent in WebKit/Source/wtf/ .
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
Committed: https://crrev.com/ac4ace1275f955ff70420065fa35e0ed565281b3
Cr-Commit-Position: refs/heads/master@{#437501}
Patch Set 1 #Patch Set 2 : Fixed comment. #
Total comments: 2
Patch Set 3 : Update after review. #Messages
Total messages: 18 (10 generated)
|