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

Issue 1219093002: Convert a RELEASE_ASSERT into an ASSERT (Closed)

Created:
5 years, 5 months ago by Stephen Chennney
Modified:
5 years, 5 months ago
Reviewers:
chrishtr, trchen
CC:
blink-reviews, blink-reviews-paint_chromium.org, dshwang, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fix the check for isDocumentElement in BlockPainter. A previous patch (https://codereview.chromium.org/1205143003/) incorrectly inverted the sense of the isDocumentElement check. This patch fixes it. Various RELEASE_ASSERT's were also left behind, but they show no impact on crash reporting, so change them into an ASSERT. There's no security implication to this code, so no reason to assert in release builds. This will cut the number of crashes a little. R=chrishtr BUG=475698, 504955, 509737 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198861

Patch Set 1 #

Patch Set 2 : Fix the sense of the compare, and remove asserts #

Patch Set 3 : Add comments and bug number #

Total comments: 2

Patch Set 4 : Expectations added. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -6 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/paint/BlockPainter.cpp View 1 2 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 23 (6 generated)
Stephen Chennney
This patch is part of the ongoing effort to track down the cause of the ...
5 years, 5 months ago (2015-06-30 20:44:00 UTC) #1
chrishtr
5 years, 5 months ago (2015-06-30 21:20:41 UTC) #3
chrishtr
Tien-Ren could could you comment?
5 years, 5 months ago (2015-07-01 19:59:25 UTC) #4
Stephen Chennney
This is now the fix for https://code.google.com/p/chromium/issues/detail?id=504955 ... and removing unnecessary asserts.
5 years, 5 months ago (2015-07-13 17:33:22 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1219093002/20001
5 years, 5 months ago (2015-07-13 17:36:47 UTC) #7
chrishtr
Please fix the CL description to emphasize the bugfix at the top level. Also, this ...
5 years, 5 months ago (2015-07-13 17:37:58 UTC) #8
Stephen Chennney
Done. Better documentation all round.
5 years, 5 months ago (2015-07-13 17:54:05 UTC) #9
chrishtr
lgtm
5 years, 5 months ago (2015-07-13 18:00:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1219093002/40001
5 years, 5 months ago (2015-07-13 18:00:35 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/62669)
5 years, 5 months ago (2015-07-13 19:47:31 UTC) #14
trchen
https://codereview.chromium.org/1219093002/diff/40001/Source/core/paint/BlockPainter.cpp File Source/core/paint/BlockPainter.cpp (right): https://codereview.chromium.org/1219093002/diff/40001/Source/core/paint/BlockPainter.cpp#newcode39 Source/core/paint/BlockPainter.cpp:39: // that the LayoutView paints the root's background. Yep ...
5 years, 5 months ago (2015-07-13 20:23:18 UTC) #15
Stephen Chennney
On 2015/07/13 20:23:18, trchen wrote: > https://codereview.chromium.org/1219093002/diff/40001/Source/core/paint/BlockPainter.cpp > File Source/core/paint/BlockPainter.cpp (right): > > https://codereview.chromium.org/1219093002/diff/40001/Source/core/paint/BlockPainter.cpp#newcode39 > ...
5 years, 5 months ago (2015-07-13 20:40:24 UTC) #16
trchen
On 2015/07/13 20:40:24, Stephen Chenney wrote: > On 2015/07/13 20:23:18, trchen wrote: > > > ...
5 years, 5 months ago (2015-07-13 20:59:40 UTC) #17
chrishtr
On 2015/07/13 at 20:59:40, trchen wrote: > On 2015/07/13 20:40:24, Stephen Chenney wrote: > > ...
5 years, 5 months ago (2015-07-13 21:06:42 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1219093002/60001
5 years, 5 months ago (2015-07-14 12:16:21 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://src.chromium.org/viewvc/blink?view=rev&revision=198861
5 years, 5 months ago (2015-07-14 13:38:16 UTC) #22
chrishtr
5 years, 5 months ago (2015-07-16 18:43:36 UTC) #23
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698