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

Issue 2097313002: Replace ASSERT macros with DCHECK, etc. in core/html/forms/. (Closed)

Created:
4 years, 5 months ago by tkent
Modified:
4 years, 5 months ago
Reviewers:
yosin_UTC9
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace ASSERT macros with DCHECK, etc. in core/html/forms/. Replace deprecated ASSERT-family macros. - ASSERT* -> DCHECK* - ASSERT_WITH_SECURITY_IMPLICATION -> SECURITY_DCHECK - ASSERT_NOT_REACHED -> NOTREACHED This CL has no behavior changes. BUG=596760 Committed: https://crrev.com/d757af7db879cc7c00c888deecf07d6469986209 Cr-Commit-Position: refs/heads/master@{#402132}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -100 lines) Patch
M third_party/WebKit/Source/core/html/forms/BaseButtonInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/forms/BaseTemporalInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/forms/ChooserOnlyTemporalInputTypeView.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/ColorInputType.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/DateInputType.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/DateTimeLocalInputType.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/EmailInputType.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/FileInputType.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/FormController.cpp View 6 chunks +6 lines, -6 lines 2 comments Download
M third_party/WebKit/Source/core/html/forms/HiddenInputType.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/forms/InputType.cpp View 10 chunks +14 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/InputTypeView.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/forms/MonthInputType.cpp View 3 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/MultipleFieldsTemporalInputTypeView.cpp View 5 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/NumberInputType.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/PasswordInputType.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp View 10 chunks +21 lines, -21 lines 2 comments Download
M third_party/WebKit/Source/core/html/forms/RangeInputType.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/SearchInputType.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/StepRange.cpp View 3 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp View 4 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/TimeInputType.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/forms/WeekInputType.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
tkent
yosin@, would you review this please? https://codereview.chromium.org/2097313002/diff/1/third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp File third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp (right): https://codereview.chromium.org/2097313002/diff/1/third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp#newcode146 third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp:146: ASSERT(it != m_members.end()); ...
4 years, 5 months ago (2016-06-27 05:52:16 UTC) #2
yosin_UTC9
lgtm https://codereview.chromium.org/2097313002/diff/1/third_party/WebKit/Source/core/html/forms/FormController.cpp File third_party/WebKit/Source/core/html/forms/FormController.cpp (right): https://codereview.chromium.org/2097313002/diff/1/third_party/WebKit/Source/core/html/forms/FormController.cpp#newcode265 third_party/WebKit/Source/core/html/forms/FormController.cpp:265: DCHECK_GT(it->value.size(), 0u); Q: Is DCHECK_NE(it->value.size(), 0u) better? https://codereview.chromium.org/2097313002/diff/1/third_party/WebKit/Source/core/html/forms/RadioButtonGroupScope.cpp ...
4 years, 5 months ago (2016-06-27 06:28:39 UTC) #3
tkent
https://codereview.chromium.org/2097313002/diff/1/third_party/WebKit/Source/core/html/forms/FormController.cpp File third_party/WebKit/Source/core/html/forms/FormController.cpp (right): https://codereview.chromium.org/2097313002/diff/1/third_party/WebKit/Source/core/html/forms/FormController.cpp#newcode265 third_party/WebKit/Source/core/html/forms/FormController.cpp:265: DCHECK_GT(it->value.size(), 0u); On 2016/06/27 at 06:28:38, Yosi_UTC9 wrote: > ...
4 years, 5 months ago (2016-06-27 06:38:10 UTC) #4
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/2097313002/1
4 years, 5 months ago (2016-06-27 06:38:22 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-06-27 07:50:00 UTC) #7
commit-bot: I haz the power
4 years, 5 months ago (2016-06-27 07:51:18 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d757af7db879cc7c00c888deecf07d6469986209
Cr-Commit-Position: refs/heads/master@{#402132}

Powered by Google App Engine
This is Rietveld 408576698