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

Issue 2339683004: Apply first-line transform-text style (Closed)

Created:
4 years, 3 months ago by rhogan
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
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Apply first-line transform-text style A third go at https://crrev.com/3c64df1fc98aa06eabfc18d1f5c2f2b0aec1a658 Although I still can't reproduce the clusterfuzz reports locally I'm confident this will cure the specific crashes because I'm no longer transforming the first line's text unless it has a distinct first-line style (:/). BUG=129669, 644733 Committed: https://crrev.com/e17f77cab60f321629c438796cc14fae3f2fa7dc Cr-Commit-Position: refs/heads/master@{#418840}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -0 lines) Patch
A third_party/WebKit/LayoutTests/fast/text/transform-text-first-line.html View 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/text/transform-text-first-line-capitalize.html View 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/text/transform-text-first-line-capitalize-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/text/transform-text-first-line-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/text/transform-text-first-line-lowercase.html View 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/text/transform-text-first-line-lowercase-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutText.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutText.cpp View 1 chunk +27 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/api/LineLayoutText.h View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/InlineTextBox.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp View 1 chunk +5 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (10 generated)
rhogan
4 years, 3 months ago (2016-09-14 20:22:07 UTC) #5
eae
LGTM
4 years, 3 months ago (2016-09-15 09:22:23 UTC) #8
commit-bot: I haz the power
This CL has an open dependency (Issue 2326303002 Patch 20001). Please resolve the dependency and ...
4 years, 3 months ago (2016-09-15 10:24:23 UTC) #11
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/2339683004/1
4 years, 3 months ago (2016-09-15 12:03:03 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-15 12:07:51 UTC) #14
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/e17f77cab60f321629c438796cc14fae3f2fa7dc Cr-Commit-Position: refs/heads/master@{#418840}
4 years, 3 months ago (2016-09-15 12:09:37 UTC) #16
rhogan
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/2366173002/ by robhogan@gmail.com. ...
4 years, 2 months ago (2016-09-25 11:14:39 UTC) #17
rhogan
4 years, 2 months ago (2016-09-26 17:58:01 UTC) #18
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2368383002/ by robhogan@gmail.com.

The reason for reverting is: This is still causing asan crashes. The crashes
seem specific to cases where the transformed text is longer than the original
text. I think the Iterator object is keeping a pointer to the text and the
reallocation required fit the new text throws it out. .

Powered by Google App Engine
This is Rietveld 408576698