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

Issue 2751653003: Replace ASSERT and ASSERT_NOT_REACHED in core/style/ (Closed)

Created:
3 years, 9 months ago by nikhil.sahni
Modified:
3 years, 9 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace ASSERT and ASSERT_NOT_REACHED in core/style/ Replacing ASSERT and ASSERT_NOT_REACHED in core/style/ with DCHECK_op, NOTREACHED respectively. BUG=697688 Review-Url: https://codereview.chromium.org/2751653003 Cr-Commit-Position: refs/heads/master@{#457437} Committed: https://chromium.googlesource.com/chromium/src/+/8ef33b2cfea95309080e9d7f452233e0e780d5d8

Patch Set 1 #

Patch Set 2 : Replace ASSERT and ASSERT_NOT_REACHED in core/style/ #

Total comments: 3

Patch Set 3 : Replace ASSERT and ASSERT_NOT_REACHED in core/style/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -93 lines) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/style/BasicShapes.cpp View 1 2 8 chunks +14 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/style/BorderEdge.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/BorderImageLength.h View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/style/ClipPathOperation.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 8 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/style/ContentData.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/style/CounterDirectives.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/style/DataPersistent.h View 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/style/DataRef.h View 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/style/FillLayer.h View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/style/GridArea.h View 4 chunks +16 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/style/GridLength.h View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/style/GridPosition.h View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/style/GridPositionsResolver.cpp View 1 2 11 chunks +18 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/style/QuotesData.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/style/SVGComputedStyle.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ShadowData.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ShadowList.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/ShapeValue.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/StyleDifference.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/StylePath.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/style/StylePendingImage.h View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
Shanmuga Pandi
Peer review looks good to me.
3 years, 9 months ago (2017-03-14 05:24:25 UTC) #5
Srirama
nit: Remove RELEASE_ASSERT part from the description.
3 years, 9 months ago (2017-03-14 05:31:52 UTC) #6
nikhil.sahni
On 2017/03/14 05:31:52, Srirama wrote: > nit: Remove RELEASE_ASSERT part from the description.
3 years, 9 months ago (2017-03-15 04:57:52 UTC) #10
nikhil.sahni
On 2017/03/15 04:57:52, nikhil.sahni wrote: > On 2017/03/14 05:31:52, Srirama wrote: > > nit: Remove ...
3 years, 9 months ago (2017-03-15 04:58:20 UTC) #11
tkent
https://codereview.chromium.org/2751653003/diff/20001/third_party/WebKit/Source/core/style/BasicShapes.cpp File third_party/WebKit/Source/core/style/BasicShapes.cpp (right): https://codereview.chromium.org/2751653003/diff/20001/third_party/WebKit/Source/core/style/BasicShapes.cpp#newcode205 third_party/WebKit/Source/core/style/BasicShapes.cpp:205: DCHECK(other && isSameType(*other)); Please split it to two DCHEKS. ...
3 years, 9 months ago (2017-03-15 05:02:21 UTC) #12
nikhil.sahni
On 2017/03/15 05:02:21, tkent wrote: > https://codereview.chromium.org/2751653003/diff/20001/third_party/WebKit/Source/core/style/BasicShapes.cpp > File third_party/WebKit/Source/core/style/BasicShapes.cpp (right): > > https://codereview.chromium.org/2751653003/diff/20001/third_party/WebKit/Source/core/style/BasicShapes.cpp#newcode205 > ...
3 years, 9 months ago (2017-03-15 05:26:52 UTC) #13
nikhil.sahni
On 2017/03/15 05:02:21, tkent wrote: > https://codereview.chromium.org/2751653003/diff/20001/third_party/WebKit/Source/core/style/BasicShapes.cpp > File third_party/WebKit/Source/core/style/BasicShapes.cpp (right): > > https://codereview.chromium.org/2751653003/diff/20001/third_party/WebKit/Source/core/style/BasicShapes.cpp#newcode205 > ...
3 years, 9 months ago (2017-03-15 05:26:52 UTC) #14
tkent
lgtm
3 years, 9 months ago (2017-03-15 05:28:22 UTC) #16
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/2751653003/40001
3 years, 9 months ago (2017-03-15 05:28:36 UTC) #17
commit-bot: I haz the power
The author nikhil.sahni@samsung.com has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
3 years, 9 months ago (2017-03-15 05:28:38 UTC) #19
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/2751653003/40001
3 years, 9 months ago (2017-03-16 13:44:14 UTC) #21
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 15:13:08 UTC) #24
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/8ef33b2cfea95309080e9d7f4522...

Powered by Google App Engine
This is Rietveld 408576698