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

Issue 1237283004: Revert of "Change fallback font collection in HarfBuzzShaper" (Closed)

Created:
5 years, 5 months ago by Noel Gordon
Modified:
5 years, 5 months ago
CC:
blink-reviews, Rik, danakj, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, yosin_UTC9, Raymond Toy
Base URL:
https://chromium.googlesource.com/chromium/blink@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Revert of "Change fallback font collection in HarfBuzzShaper" (patchset #1 id:1 of https://codereview.chromium.org/1229413005/) Reason for revert: Broke Linux MSAN bots on relanding: http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20MSAN/builds/4448 ==4==WARNING: MemorySanitizer: use-of-uninitialized-value 07:37:45.901 15833 #0 0x7fc50442fdbf in blink::ShapeResult::fallbackFonts(WTF::HashSet<blink::SimpleFontData const seems to be the common complaint in the tests that broke. Original issue's description: > Reland of land "Change fallback font collection in HarfBuzzShaper" (patchset #1 id:1 of https://codereview.chromium.org/1235163007/) > > Reason for revert: > The breakage here was a side-effect of the change that caused the problem [1]. Rolling this back in therefore. > > [1] https://codereview.chromium.org/1234183003 > > > > Original issue's description: > > Revert of Reland "Change fallback font collection in HarfBuzzShaper" (patchset #1 id:1 of https://codereview.chromium.org/1241613006/) > > > > Reason for revert: > > Broke Linux MSAN bots. > > > > http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux%20MSAN/builds/4413 > > > > See stdio log of 4412 build: many reports use on an uninitialized variable in shaping font fallback, about 100+ tests failing that way. > > > > Original issue's description: > > > Reland "Change fallback font collection in HarfBuzzShaper" > > > > > > Change HarfBuzzShaper to not populate the fallback font list during text > > > shaping and instead populate it based on the ShapeResult objects at call > > > time. This circumvents additional registration work and renders the text > > > shaping API simpler and more consistent. > > > > > > Originally landed in r198813 (bbb929c88fbe43979dbb9b2b20218538) and then > > > reverted in r198818 (64e30826c261ac7a2607e891dbe7e9d2d251e5f3) by virtue > > > of Mac 10.6 test failures caused by a missing NULL check, since added. > > > > > > This is a speculative fix. > > > > > > R=leviw@chromium.org > > > > > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198886 > > > > TBR=leviw@chromium.org,eae@chromium.org > > NOPRESUBMIT=true > > NOTREECHECKS=true > > NOTRY=true > > > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198923 > > TBR=leviw@chromium.org,eae@chromium.org > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198951 TBR=leviw@chromium.org,eae@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198964

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -39 lines) Patch
M Source/platform/fonts/Font.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/platform/fonts/shaping/CachingWordShapeIterator.h View 6 chunks +28 lines, -9 lines 0 comments Download
M Source/platform/fonts/shaping/CachingWordShaper.cpp View 2 chunks +2 lines, -6 lines 0 comments Download
M Source/platform/fonts/shaping/CachingWordShaperTest.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/platform/fonts/shaping/HarfBuzzShaper.h View 3 chunks +7 lines, -3 lines 0 comments Download
M Source/platform/fonts/shaping/HarfBuzzShaper.cpp View 4 chunks +9 lines, -11 lines 0 comments Download
M Source/platform/fonts/shaping/HarfBuzzShaperTest.cpp View 8 chunks +8 lines, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Noel Gordon
Created Revert of "Change fallback font collection in HarfBuzzShaper"
5 years, 5 months ago (2015-07-15 15:11:46 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1237283004/1
5 years, 5 months ago (2015-07-15 15:12:07 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://src.chromium.org/viewvc/blink?view=rev&revision=198964
5 years, 5 months ago (2015-07-15 15:13:23 UTC) #3
Noel Gordon
5 years, 5 months ago (2015-07-15 15:52:20 UTC) #4
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698