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

Issue 2899573002: Clean up remaining uses of ASSERT in core (Closed)

Created:
3 years, 7 months ago by gyuyoung
Modified:
3 years, 7 months ago
Reviewers:
haraken, tkent
CC:
chromium-reviews, dshwang, dcheng, apavlov+blink_chromium.org, kinuko+worker_chromium.org, rwlbuis, caseq+blink_chromium.org, blink-reviews-css, blink-reviews-html_chromium.org, Justin Novosad, dglazkov+blink, Rik, devtools-reviews_chromium.org, blink-reviews, falken+watch_chromium.org, blink-worker-reviews_chromium.org, Navid Zolghadr, lushnikov+blink_chromium.org, darktears, dtapuska+blinkwatch_chromium.org, shimazu+worker_chromium.org, pfeldman+blink_chromium.org, horo+watch_chromium.org, kozyatinskiy+blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up remaining uses of ASSERT in core As a step to reduce uses of wtf/Assertions.h, This CL changes all uses of ASSERT with DCHECK() or DCHECK_FOO() in core. BUG=596760 Review-Url: https://codereview.chromium.org/2899573002 Cr-Commit-Position: refs/heads/master@{#473464} Committed: https://chromium.googlesource.com/chromium/src/+/9b65c469423afabf0a29df2dfbf04db9b2a209eb

Patch Set 1 #

Total comments: 2

Patch Set 2 : Clean up remaining uses of ASSERT in core #

Patch Set 3 : Clean up remaining uses of ASSERT in core #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -34 lines) Patch
M third_party/WebKit/Source/core/clipboard/DataTransfer.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSBasicShapeValues.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/canvas/CanvasFontCache.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/imagebitmap/ImageBitmapFactories.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTaskRunner.cpp View 1 chunk +1 line, -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/page/CreateWindow.cpp View 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/page/FrameTree.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/page/SpatialNavigation.cpp View 1 3 chunks +9 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/page/TouchAdjustment.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/streams/ReadableStreamOperations.cpp View 7 chunks +7 lines, -7 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
gyuyoung
PTAL.
3 years, 7 months ago (2017-05-20 09:10:34 UTC) #2
haraken
LGTM https://codereview.chromium.org/2899573002/diff/1/third_party/WebKit/Source/core/page/SpatialNavigation.cpp File third_party/WebKit/Source/core/page/SpatialNavigation.cpp (right): https://codereview.chromium.org/2899573002/diff/1/third_party/WebKit/Source/core/page/SpatialNavigation.cpp#newcode411 third_party/WebKit/Source/core/page/SpatialNavigation.cpp:411: DCHECK(node && node->GetLayoutObject()); Split it into two dchecks.
3 years, 7 months ago (2017-05-20 10:10:22 UTC) #3
gyuyoung
https://codereview.chromium.org/2899573002/diff/1/third_party/WebKit/Source/core/page/SpatialNavigation.cpp File third_party/WebKit/Source/core/page/SpatialNavigation.cpp (right): https://codereview.chromium.org/2899573002/diff/1/third_party/WebKit/Source/core/page/SpatialNavigation.cpp#newcode411 third_party/WebKit/Source/core/page/SpatialNavigation.cpp:411: DCHECK(node && node->GetLayoutObject()); On 2017/05/20 10:10:22, haraken wrote: > ...
3 years, 7 months ago (2017-05-21 00:35:04 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/2899573002/20001
3 years, 7 months ago (2017-05-21 00:35:26 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/343961)
3 years, 7 months ago (2017-05-21 01:01:53 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/2899573002/40001
3 years, 7 months ago (2017-05-21 06:31:07 UTC) #13
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/2899573002/40001
3 years, 7 months ago (2017-05-21 06:31:31 UTC) #15
commit-bot: I haz the power
3 years, 7 months ago (2017-05-21 09:05:20 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/9b65c469423afabf0a29df2dfbf0...

Powered by Google App Engine
This is Rietveld 408576698