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

Issue 2530493002: WebKit: make #if DCHECK_IS_ON consistent in third_party/WebKit/Source/platform/ (Closed)

Created:
4 years, 1 month ago by Alexander Alekseev
Modified:
4 years ago
Reviewers:
haraken, pdr.
CC:
chromium-reviews, krit, drott+blinkwatch_chromium.org, oilpan-reviews, Mads Ager (chromium), blink-reviews-platform-graphics_chromium.org, kouhei+heap_chromium.org, dshwang, pdr+graphicswatchlist_chromium.org, jbroman, Justin Novosad, Rik, f(malita), blink-reviews, danakj+watch_chromium.org, ajuma+watch_chromium.org, Stephen Chennney, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WebKit: 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
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -18 lines) Patch
M third_party/WebKit/Source/platform/Timer.h View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/Timer.cpp View 3 chunks +9 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsContext.h View 1 chunk +1 line, -1 line 1 comment Download
M third_party/WebKit/Source/platform/graphics/GraphicsContext.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/ClipDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/ClipPathDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/CompositingDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/DisplayItem.h View 1 chunk +1 line, -1 line 1 comment Download
M third_party/WebKit/Source/platform/graphics/paint/FilterDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/FloatClipDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/ScrollDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/SubsequenceDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/Transform3DDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/TransformDisplayItem.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/heap/PersistentNode.h View 1 chunk +3 lines, -1 line 1 comment Download
M third_party/WebKit/Source/platform/heap/PersistentNode.cpp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 16 (11 generated)
Alexander Alekseev
This is third_party/WebKit/Source/platform/ part of https://codereview.chromium.org/2513893002 (I am splitting it as suggested by reviewers.) Please ...
4 years, 1 month ago (2016-11-23 07:53:07 UTC) #6
haraken
LGTM
4 years, 1 month ago (2016-11-23 08:17:37 UTC) #7
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/2530493002/1
4 years ago (2016-11-23 12:14:20 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-23 12:18:56 UTC) #14
commit-bot: I haz the power
4 years ago (2016-11-23 12:21:07 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/bf362660fce245a3bf521fa2caca26b00e2f055a
Cr-Commit-Position: refs/heads/master@{#434149}

Powered by Google App Engine
This is Rietveld 408576698