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

Issue 2267363007: Loop instead of tail-recursion in adjustMidpointsAndAppendRunsForObjectIfNeeded (Closed)

Created:
4 years, 3 months ago by kojii
Modified:
4 years, 3 months ago
Reviewers:
eae
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

Loop instead of tail-recursion in adjustMidpointsAndAppendRunsForObjectIfNeeded Somehow VS2015 does not apply tail-recursion, and hits stack overflow even in official build. Crashes were reported on CrOS too. This patch changes it to loop. No behavior changes. BUG=583711, 640869 Committed: https://crrev.com/775f244f3b549c5887adc6d945656f52685d800c Cr-Commit-Position: refs/heads/master@{#414491}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -31 lines) Patch
M third_party/WebKit/Source/core/layout/line/InlineIterator.h View 1 chunk +35 lines, -31 lines 0 comments Download

Messages

Total messages: 18 (13 generated)
kojii
PTAL. Only 5+ lines change to enclosed with a loop and replaced recursion with continue, ...
4 years, 3 months ago (2016-08-25 04:40:37 UTC) #10
eae
LGTM
4 years, 3 months ago (2016-08-25 18:37:24 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/2267363007/1
4 years, 3 months ago (2016-08-25 18:41:10 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-08-25 18:48:33 UTC) #16
commit-bot: I haz the power
4 years, 3 months ago (2016-08-25 18:52:13 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/775f244f3b549c5887adc6d945656f52685d800c
Cr-Commit-Position: refs/heads/master@{#414491}

Powered by Google App Engine
This is Rietveld 408576698