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

Issue 1828163002: Remove ASSERT_ARG(). (Closed)

Created:
4 years, 9 months ago by tkent
Modified:
4 years, 9 months ago
Reviewers:
yosin_UTC9
CC:
ajuma+watch-canvas_chromium.org, darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-dom_chromium.org, blink-reviews-layout_chromium.org, blink-reviews-platform-graphics_chromium.org, blink-reviews-style_chromium.org, blink-reviews-wtf_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dcheng, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, f(malita), jbroman, jchaffraix+rendering, Justin Novosad, kinuko+watch, leviw+renderwatch, Mikhail, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, sof, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove ASSERT_ARG(). ASSERT_ARG() is not much helpful than normal ASSERT() and DCHECK(). So this CL removes it, and replaces existing call sites with DCHECK(). Also, this CL moves Node stream printers from testing code to production code because they are used in DCHECK(). This relands crrev.com/383047 with just rebase. BUG=596760 Committed: https://crrev.com/ec47b3501ce1e462c5721a870c9aabd0ef3581ab Cr-Commit-Position: refs/heads/master@{#383236}

Patch Set 1 #

Patch Set 2 : Remove duplicated declarations in Position.h #

Total comments: 1

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -100 lines) Patch
M third_party/WebKit/Source/core/clipboard/DataTransfer.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Node.h View 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Node.cpp View 2 chunks +22 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/Position.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutRubyBase.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutView.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/TableLayoutAlgorithmAuto.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/ContextMenuController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/testing/CoreTestPrinters.cpp View 1 3 chunks +1 line, -41 lines 0 comments Download
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DState.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/text/TextBreakIteratorICU.cpp View 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/text/UnicodeUtilities.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/wtf/Assertions.h View 1 2 3 chunks +0 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/wtf/Assertions.cpp View 1 2 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
tkent
yosin@, would you review this please?
4 years, 9 months ago (2016-03-24 06:43:16 UTC) #3
yosin_UTC9
lgtm Thanks so much! You make my life easier! https://codereview.chromium.org/1828163002/diff/20001/third_party/WebKit/Source/core/dom/Node.cpp File third_party/WebKit/Source/core/dom/Node.cpp (right): https://codereview.chromium.org/1828163002/diff/20001/third_party/WebKit/Source/core/dom/Node.cpp#newcode1537 third_party/WebKit/Source/core/dom/Node.cpp:1537: ...
4 years, 9 months ago (2016-03-24 07:47:18 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828163002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828163002/20001
4 years, 9 months ago (2016-03-24 07:47:35 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-24 09:57:07 UTC) #7
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/25e8e9a87ba795375862c9a33ae3d9704eebe489 Cr-Commit-Position: refs/heads/master@{#383047}
4 years, 9 months ago (2016-03-24 09:58:36 UTC) #9
Dirk Pranke
On 2016/03/24 09:58:36, commit-bot: I haz the power wrote: > Patchset 2 (id:??) landed as ...
4 years, 9 months ago (2016-03-24 21:25:52 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1828163002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1828163002/40001
4 years, 9 months ago (2016-03-25 01:37:45 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-25 03:17:34 UTC) #15
commit-bot: I haz the power
4 years, 9 months ago (2016-03-25 03:19:36 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ec47b3501ce1e462c5721a870c9aabd0ef3581ab
Cr-Commit-Position: refs/heads/master@{#383236}

Powered by Google App Engine
This is Rietveld 408576698