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

Issue 542653002: Merge FontPlatformDataHarfBuzz and FontPlatformData headers (Closed)

Created:
6 years, 3 months ago by Dominik Röttsches
Modified:
6 years, 3 months ago
CC:
blink-reviews, jamesr, krit, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis, amineer_google
Base URL:
https://chromium.googlesource.com/chromium/blink.git@mergePlatformData
Project:
blink
Visibility:
Public.

Description

Merge FontPlatformDataHarfBuzz and FontPlatformData headers Those two files were split apart and redundantly copied for non-Mac and Mac platforms. This is an attempt an unifying them, as a preparation for removing the CoreText shaper. We can merge the implementations in FontPlatformDataHarfBuzz.cpp and FontPlatformData.cpp as a next step. This is a reland after the original change 72f392cc147764ec75e4f got reverted in bcfdb1312a26b0e611. Fix is to change to the previous operator== implementation and add m_isHashTableDeletedValue to the hash computation. I believe this addresses the observed crash issue as well. BUG=334269, 411287 R=eae,arv Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181541

Patch Set 1 #

Patch Set 2 : Argument name incorrect #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -306 lines) Patch
M Source/platform/blink_platform.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M Source/platform/fonts/FontPlatformData.h View 2 chunks +130 lines, -91 lines 0 comments Download
M Source/platform/fonts/FontPlatformData.cpp View 1 4 chunks +59 lines, -32 lines 0 comments Download
M Source/platform/fonts/cocoa/FontPlatformDataCocoa.mm View 8 chunks +25 lines, -17 lines 0 comments Download
D Source/platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.h View 1 chunk +0 lines, -143 lines 0 comments Download
M Source/platform/fonts/harfbuzz/FontPlatformDataHarfBuzz.cpp View 3 chunks +7 lines, -2 lines 0 comments Download
M Source/platform/fonts/harfbuzz/HarfBuzzFaceCoreText.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/fonts/linux/FontPlatformDataLinux.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/fonts/mac/FontCacheMac.mm View 3 chunks +4 lines, -4 lines 0 comments Download
M Source/platform/fonts/mac/FontMac.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/platform/fonts/mac/SimpleFontDataMac.mm View 7 chunks +9 lines, -9 lines 0 comments Download
M Source/platform/fonts/win/FontCacheSkiaWin.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/mac/WebFontCache.mm View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (5 generated)
Dominik Röttsches
6 years, 3 months ago (2014-09-05 10:00:48 UTC) #1
Dominik Röttsches
Emil - I know where the ASSERT happens, but I am not 100% sure about ...
6 years, 3 months ago (2014-09-05 10:01:53 UTC) #2
eae
On 2014/09/05 10:01:53, Dominik Röttsches wrote: > Emil - I know where the ASSERT happens, ...
6 years, 3 months ago (2014-09-05 14:20:30 UTC) #3
eae
On 2014/09/05 10:01:53, Dominik Röttsches wrote: > Emil - I know where the ASSERT happens, ...
6 years, 3 months ago (2014-09-05 14:20:31 UTC) #4
Dominik Röttsches
> Seems likely, we've seen similar failures in the past. I'll see if I can ...
6 years, 3 months ago (2014-09-05 15:00:43 UTC) #5
arv (Not doing code reviews)
On 2014/09/05 15:00:43, Dominik Röttsches wrote: > > Seems likely, we've seen similar failures in ...
6 years, 3 months ago (2014-09-05 16:52:07 UTC) #6
eae
On 2014/09/05 16:52:07, arv wrote: > On 2014/09/05 15:00:43, Dominik Röttsches wrote: > > > ...
6 years, 3 months ago (2014-09-05 18:33:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominik.rottsches@intel.com/542653002/20001
6 years, 3 months ago (2014-09-05 18:33:39 UTC) #9
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 3 months ago (2014-09-05 18:33:41 UTC) #11
eae
LGTM
6 years, 3 months ago (2014-09-05 18:37:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominik.rottsches@intel.com/542653002/20001
6 years, 3 months ago (2014-09-05 18:37:56 UTC) #14
eae
Unchecking CQ due to https://code.google.com/p/chromium/issues/detail?id=411287
6 years, 3 months ago (2014-09-05 18:46:03 UTC) #16
eae
Unchecking CQ due to https://code.google.com/p/chromium/issues/detail?id=411287
6 years, 3 months ago (2014-09-05 18:46:04 UTC) #17
d.roettsches
> Unchecking CQ due to https://code.google.com/p/chromium/issues/detail?id=411287 I have a reproduction on a 10.7 VM now, ...
6 years, 3 months ago (2014-09-06 11:01:26 UTC) #18
d.roettsches
Tested on 10.7 and confirming that this version of the patch does not show the ...
6 years, 3 months ago (2014-09-06 19:10:17 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dominik.rottsches@intel.com/542653002/20001
6 years, 3 months ago (2014-09-08 07:08:45 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 181541
6 years, 3 months ago (2014-09-08 07:09:14 UTC) #22
Dominik Röttsches
Looks like it went through without issues now: http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.7/builds/31333
6 years, 3 months ago (2014-09-08 10:21:28 UTC) #23
eae
On 2014/09/08 10:21:28, Dominik Röttsches wrote: > Looks like it went through without issues now: ...
6 years, 3 months ago (2014-09-08 14:35:47 UTC) #24
arv (Not doing code reviews)
Great! On Mon, Sep 8, 2014 at 10:35 AM, <eae@chromium.org> wrote: > On 2014/09/08 10:21:28, ...
6 years, 3 months ago (2014-09-08 14:56:30 UTC) #25
d.roettsches
6 years, 3 months ago (2014-09-08 20:13:19 UTC) #26
Message was sent while issue was closed.
Unfortunately, this time it broke the build on the Windows bot. Next update
tomorrow. In the meantime, I am making progress with merging the implementation
files, too.

Powered by Google App Engine
This is Rietveld 408576698