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

Issue 685623005: Add missing reset calls after continue in layoutRunsAndFloatsInRange(). (Closed)

Created:
6 years, 1 month ago by zherczeg
Modified:
6 years, 1 month ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Add missing reset calls after continue in layoutRunsAndFloatsInRange(). The loop in layoutRunsAndFloatsInRange expects to run certain functions before the next iteration. These functions are not run before the continue. BUG=425517 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185676

Patch Set 1 #

Total comments: 1

Patch Set 2 : Next attempt #

Total comments: 1

Patch Set 3 : Third attempt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -28 lines) Patch
A LayoutTests/fast/html/layout-runs-and-floats-crash.html View 1 1 chunk +17 lines, -0 lines 0 comments Download
A LayoutTests/fast/html/layout-runs-and-floats-crash-expected.txt View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBlockLineLayout.cpp View 1 2 2 chunks +32 lines, -28 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
rhogan
https://codereview.chromium.org/685623005/diff/1/Source/core/rendering/RenderBlockLineLayout.cpp File Source/core/rendering/RenderBlockLineLayout.cpp (right): https://codereview.chromium.org/685623005/diff/1/Source/core/rendering/RenderBlockLineLayout.cpp#newcode884 Source/core/rendering/RenderBlockLineLayout.cpp:884: resolver.setPosition(endOfLine, numberOfIsolateAncestors(endOfLine)); This looks right to me. The lineMidpointState.reset() ...
6 years, 1 month ago (2014-11-03 18:58:12 UTC) #2
zherczeg
6 years, 1 month ago (2014-11-13 15:03:00 UTC) #4
zherczeg
On 2014/11/13 15:03:00, zherczeg wrote: I don't understand why the expected called as a copy: ...
6 years, 1 month ago (2014-11-13 15:07:26 UTC) #5
dsinclair
On 2014/11/13 15:07:26, zherczeg wrote: > On 2014/11/13 15:03:00, zherczeg wrote: > > I don't ...
6 years, 1 month ago (2014-11-13 15:08:59 UTC) #6
zherczeg
> If you pass --no-find-copies to git cl upload it should work correctly. Thank you. ...
6 years, 1 month ago (2014-11-17 07:21:17 UTC) #7
dsinclair
https://codereview.chromium.org/685623005/diff/20001/Source/core/rendering/RenderBlockLineLayout.cpp File Source/core/rendering/RenderBlockLineLayout.cpp (right): https://codereview.chromium.org/685623005/diff/20001/Source/core/rendering/RenderBlockLineLayout.cpp#newcode885 Source/core/rendering/RenderBlockLineLayout.cpp:885: resolver.setPosition(endOfLine, numberOfIsolateAncestors(endOfLine)); This seems like it could potentially cause ...
6 years, 1 month ago (2014-11-17 14:12:22 UTC) #9
zherczeg
> This seems like it could potentially cause issues in the future. If we add ...
6 years, 1 month ago (2014-11-18 07:30:26 UTC) #10
dsinclair
On 2014/11/18 07:30:26, zherczeg wrote: > > This seems like it could potentially cause issues ...
6 years, 1 month ago (2014-11-18 14:51:43 UTC) #11
zherczeg
Thank you for the review. I changed the patch to use a flag.
6 years, 1 month ago (2014-11-20 12:43:26 UTC) #12
dsinclair
lgtm
6 years, 1 month ago (2014-11-20 14:41:24 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/685623005/40001
6 years, 1 month ago (2014-11-20 14:41:45 UTC) #15
commit-bot: I haz the power
6 years, 1 month ago (2014-11-20 16:17:12 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=185676

Powered by Google App Engine
This is Rietveld 408576698