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

Issue 1415493008: ASSERTION FAILED: !m_overflow (Closed)

Created:
5 years, 1 month ago by Julien - ping for review
Modified:
5 years, 1 month ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, 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

ASSERTION FAILED: !m_overflow InlineFlowBox doesn't expect m_overflow if knownToHaveNoOverflow is set. Unfortunately LayoutListItem was bypassing the normal overflow computation and setting m_overflow without knowledge of InlineFlowBox, yielding to an ASSERT triggering. This change refactors the API to prevent manipulations of m_overflow without the knowledge of InlineFlowBox, fixing the ASSERT. However it is not the right long term fix. LayoutListItem should be fixed to not do that as it seems very wrong (https://crbug.com/554160). BUG=546792 Committed: https://crrev.com/ca1054043bbb319a687bf7214c8d206de53a07c1 Cr-Commit-Position: refs/heads/master@{#359601}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Updated change. #

Patch Set 3 : Updated comment after discussion with Levi! #

Total comments: 2

Patch Set 4 : nittified! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -4 lines) Patch
A third_party/WebKit/LayoutTests/fast/lists/list-marker-set-overflow-line-box-crash.html View 1 chunk +27 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/lists/list-marker-set-overflow-line-box-crash-expected.txt View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutListItem.cpp View 3 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/InlineBox.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/InlineFlowBox.h View 1 3 chunks +10 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp View 1 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
Julien - ping for review
+Levi / Emil as the masters of InlineFlowBox. Input really appreciated on this patch!
5 years, 1 month ago (2015-11-10 20:00:48 UTC) #2
leviw_travelin_and_unemployed
Can you explain the pixel diff in LayoutTests/platform/linux/fast/lists/009-vertical-expected.png? https://codereview.chromium.org/1415493008/diff/1/third_party/WebKit/Source/core/layout/line/InlineBox.h File third_party/WebKit/Source/core/layout/line/InlineBox.h (right): https://codereview.chromium.org/1415493008/diff/1/third_party/WebKit/Source/core/layout/line/InlineBox.h#newcode355 third_party/WebKit/Source/core/layout/line/InlineBox.h:355: // ...
5 years, 1 month ago (2015-11-10 20:23:22 UTC) #3
Julien - ping for review
> Can you explain the pixel diff in LayoutTests/platform/linux/fast/lists/009-vertical-expected.png? An unrelated run of --reset-test-results that ...
5 years, 1 month ago (2015-11-10 23:52:47 UTC) #4
leviw_travelin_and_unemployed
https://codereview.chromium.org/1415493008/diff/1/third_party/WebKit/Source/core/layout/line/InlineBox.h File third_party/WebKit/Source/core/layout/line/InlineBox.h (right): https://codereview.chromium.org/1415493008/diff/1/third_party/WebKit/Source/core/layout/line/InlineBox.h#newcode357 third_party/WebKit/Source/core/layout/line/InlineBox.h:357: // Note that this boolean shouldn't be set if ...
5 years, 1 month ago (2015-11-12 22:57:52 UTC) #5
Julien - ping for review
Updated patch for the taker! https://codereview.chromium.org/1415493008/diff/1/third_party/WebKit/Source/core/layout/line/InlineBox.h File third_party/WebKit/Source/core/layout/line/InlineBox.h (right): https://codereview.chromium.org/1415493008/diff/1/third_party/WebKit/Source/core/layout/line/InlineBox.h#newcode357 third_party/WebKit/Source/core/layout/line/InlineBox.h:357: // Note that this ...
5 years, 1 month ago (2015-11-13 00:31:33 UTC) #6
leviw_travelin_and_unemployed
LGTM https://codereview.chromium.org/1415493008/diff/40001/third_party/WebKit/Source/core/layout/line/InlineBox.h File third_party/WebKit/Source/core/layout/line/InlineBox.h (right): https://codereview.chromium.org/1415493008/diff/40001/third_party/WebKit/Source/core/layout/line/InlineBox.h#newcode355 third_party/WebKit/Source/core/layout/line/InlineBox.h:355: // This boolean tracks whether we know that ...
5 years, 1 month ago (2015-11-13 00:40:33 UTC) #7
Julien - ping for review
Thanks Senor Levi! https://codereview.chromium.org/1415493008/diff/40001/third_party/WebKit/Source/core/layout/line/InlineBox.h File third_party/WebKit/Source/core/layout/line/InlineBox.h (right): https://codereview.chromium.org/1415493008/diff/40001/third_party/WebKit/Source/core/layout/line/InlineBox.h#newcode355 third_party/WebKit/Source/core/layout/line/InlineBox.h:355: // This boolean tracks whether we ...
5 years, 1 month ago (2015-11-13 02:08:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415493008/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415493008/60001
5 years, 1 month ago (2015-11-13 02:08:56 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/130261)
5 years, 1 month ago (2015-11-13 02:58:04 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1415493008/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1415493008/60001
5 years, 1 month ago (2015-11-13 18:24:55 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-11-13 20:12:34 UTC) #16
commit-bot: I haz the power
5 years, 1 month ago (2015-11-13 20:13:28 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ca1054043bbb319a687bf7214c8d206de53a07c1
Cr-Commit-Position: refs/heads/master@{#359601}

Powered by Google App Engine
This is Rietveld 408576698