Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Issue 2550113004: Make ifdefs consistent in WebKit/Source/core/paint/ . (Closed)

Created:
4 years ago by Alexander Alekseev
Modified:
4 years ago
Reviewers:
Stephen Chennney
CC:
chromium-reviews, blink-reviews, dshwang, blink-reviews-paint_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make ifdefs consistent in WebKit/Source/core/paint/ . 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/4e0e9921800ee9af57aa927e67c082db3b1f9d44 Cr-Commit-Position: refs/heads/master@{#436630}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M third_party/WebKit/Source/core/paint/FramePainter.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (9 generated)
Alexander Alekseev
assertSubtreeIsLaidOut() is guarded by DCHECK_IS_ON() macro, so this CL makes checks consistent. Please review.
4 years ago (2016-12-06 10:04:39 UTC) #3
Stephen Chennney
lgtm
4 years ago (2016-12-06 17:39:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2550113004/1
4 years ago (2016-12-06 17:40:31 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-06 17:45:51 UTC) #12
commit-bot: I haz the power
4 years ago (2016-12-06 17:49:43 UTC) #14
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/4e0e9921800ee9af57aa927e67c082db3b1f9d44
Cr-Commit-Position: refs/heads/master@{#436630}

Powered by Google App Engine
This is Rietveld 408576698