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

Issue 227083006: [Oilpan]: Moving the FontSelector/FontCacheClient, CSSSegmentedFontFace, and FontFaceCache to the o… (Closed)

Created:
6 years, 8 months ago by wibling-chromium
Modified:
6 years, 8 months ago
CC:
blink-reviews, jamesr, krit, dsinclair, sof, eae+blinkwatch, ed+blinkwatch_opera.com, jbroman, danakj, dglazkov+blink, Rik, apavlov+blink_chromium.org, adamk+blink_chromium.org, darktears, Stephen Chennney, rune+blink, pdr., Inactive, rwlbuis
Visibility:
Public.

Description

[Oilpan]: Moving the FontSelector/FontCacheClient, CSSSegmentedFontFace, and FontFaceCache to the oilpan heap. Had to add two tests to the OilpanExpectations file since this triggers a change in the order in which scrollbars are layed out. R=ager@chromium.org, erik.corry@gmail.com, haraken@chromium.org, oilpan-reviews@chromium.org, tkent@chromium.org, vegorov@chromium.org, zerny@chromium.org BUG=341815 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171119 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171236 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171265

Patch Set 1 #

Total comments: 17

Patch Set 2 : Review feedback #

Total comments: 2

Patch Set 3 : More review feedback #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : Windows build fix #

Patch Set 7 : Fix tests in the component build #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -48 lines) Patch
M LayoutTests/OilpanExpectations View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/css/CSSFontFace.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/css/CSSFontSelector.h View 5 chunks +8 lines, -3 lines 0 comments Download
M Source/core/css/CSSFontSelector.cpp View 1 2 chunks +9 lines, -0 lines 0 comments Download
M Source/core/css/CSSSegmentedFontFace.h View 4 chunks +7 lines, -4 lines 0 comments Download
M Source/core/css/FontFaceCache.h View 1 3 chunks +6 lines, -3 lines 0 comments Download
M Source/core/css/FontFaceCache.cpp View 1 2 3 4 4 chunks +17 lines, -11 lines 0 comments Download
M Source/core/css/resolver/FontBuilder.h View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/css/resolver/FontBuilder.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/StyleEngine.h View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/StyleEngine.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/fonts/Font.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/fonts/Font.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/fonts/FontCache.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/platform/fonts/FontCache.cpp View 1 3 chunks +23 lines, -15 lines 0 comments Download
M Source/platform/fonts/FontCacheClient.h View 1 chunk +3 lines, -1 line 0 comments Download
M Source/platform/fonts/FontFallbackList.h View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/platform/fonts/FontFallbackList.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/heap/Heap.h View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download
M Source/platform/heap/Visitor.cpp View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
wibling-chromium
6 years, 8 months ago (2014-04-07 13:09:36 UTC) #1
sof
https://codereview.chromium.org/227083006/diff/1/Source/core/css/FontFaceCache.h File Source/core/css/FontFaceCache.h (right): https://codereview.chromium.org/227083006/diff/1/Source/core/css/FontFaceCache.h#newcode44 Source/core/css/FontFaceCache.h:44: class FontFaceCache : NoBaseWillBeGarbageCollectedFinalized<FontFaceCache> { A FINAL would be ...
6 years, 8 months ago (2014-04-07 13:37:58 UTC) #2
haraken
https://codereview.chromium.org/227083006/diff/1/Source/core/css/CSSFontFace.h File Source/core/css/CSSFontFace.h (right): https://codereview.chromium.org/227083006/diff/1/Source/core/css/CSSFontFace.h#newcode117 Source/core/css/CSSFontFace.h:117: CSSSegmentedFontFace* m_segmentedFontFace; I'm just curious: Is it safe to ...
6 years, 8 months ago (2014-04-07 14:10:11 UTC) #3
wibling-chromium
Thanks for the reviews! https://codereview.chromium.org/227083006/diff/1/Source/core/css/CSSFontFace.h File Source/core/css/CSSFontFace.h (right): https://codereview.chromium.org/227083006/diff/1/Source/core/css/CSSFontFace.h#newcode117 Source/core/css/CSSFontFace.h:117: CSSSegmentedFontFace* m_segmentedFontFace; On 2014/04/07 14:10:12, ...
6 years, 8 months ago (2014-04-08 09:35:59 UTC) #4
wibling-chromium
PTAL Updated the diff.
6 years, 8 months ago (2014-04-08 10:52:32 UTC) #5
haraken
https://codereview.chromium.org/227083006/diff/1/Source/core/css/FontFaceCache.cpp File Source/core/css/FontFaceCache.cpp (right): https://codereview.chromium.org/227083006/diff/1/Source/core/css/FontFaceCache.cpp#newcode63 Source/core/css/FontFaceCache.cpp:63: familyFontFaces = adoptPtrWillBeNoop(new TraitsMap); On 2014/04/08 09:35:59, wibling-chromium wrote: ...
6 years, 8 months ago (2014-04-08 11:14:39 UTC) #6
zerny-chromium
QQ: https://codereview.chromium.org/227083006/diff/20001/Source/core/css/CSSSegmentedFontFace.h File Source/core/css/CSSSegmentedFontFace.h (right): https://codereview.chromium.org/227083006/diff/20001/Source/core/css/CSSSegmentedFontFace.h#newcode83 Source/core/css/CSSSegmentedFontFace.h:83: RawPtrWillBeMember<CSSFontSelector> m_fontSelector; This could potentially change lifetime of ...
6 years, 8 months ago (2014-04-08 12:10:20 UTC) #7
wibling-chromium
Thanks again for the reviews. I have updated the diff. https://codereview.chromium.org/227083006/diff/1/Source/core/css/FontFaceCache.cpp File Source/core/css/FontFaceCache.cpp (right): https://codereview.chromium.org/227083006/diff/1/Source/core/css/FontFaceCache.cpp#newcode63 ...
6 years, 8 months ago (2014-04-08 12:47:23 UTC) #8
haraken
Thanks, now I understand the get/set or add/new issue. I agree that the get/set pattern ...
6 years, 8 months ago (2014-04-08 12:59:58 UTC) #9
haraken
tkent-san: Would you take a look at platform/ ?
6 years, 8 months ago (2014-04-08 13:00:22 UTC) #10
tkent
lgtm https://codereview.chromium.org/227083006/diff/1/Source/core/css/FontFaceCache.cpp File Source/core/css/FontFaceCache.cpp (right): https://codereview.chromium.org/227083006/diff/1/Source/core/css/FontFaceCache.cpp#newcode63 Source/core/css/FontFaceCache.cpp:63: familyFontFaces = adoptPtrWillBeNoop(new TraitsMap); On 2014/04/08 12:47:23, wibling-chromium ...
6 years, 8 months ago (2014-04-08 13:45:37 UTC) #11
wibling-chromium
On 2014/04/08 13:45:37, tkent wrote: > lgtm > > https://codereview.chromium.org/227083006/diff/1/Source/core/css/FontFaceCache.cpp > File Source/core/css/FontFaceCache.cpp (right): > ...
6 years, 8 months ago (2014-04-08 14:03:09 UTC) #12
wibling-chromium
https://codereview.chromium.org/227083006/diff/40001/Source/core/css/FontFaceCache.cpp File Source/core/css/FontFaceCache.cpp (right): https://codereview.chromium.org/227083006/diff/40001/Source/core/css/FontFaceCache.cpp#newcode67 Source/core/css/FontFaceCache.cpp:67: segmentedFontFace = familyFontFaces->add(fontFace->traits().mask(), CSSSegmentedFontFace::create(cssFontSelector, fontFace->traits())).storedValue->value; On 2014/04/08 12:59:59, haraken ...
6 years, 8 months ago (2014-04-08 14:03:18 UTC) #13
tkent
On 2014/04/08 14:03:09, wibling-chromium wrote: > > Shouldn't we apply the add-new idiom to HeapHashMap ...
6 years, 8 months ago (2014-04-09 01:20:39 UTC) #14
haraken
On 2014/04/09 01:20:39, tkent wrote: > On 2014/04/08 14:03:09, wibling-chromium wrote: > > > Shouldn't ...
6 years, 8 months ago (2014-04-09 01:31:15 UTC) #15
Mads Ager (chromium)
On 2014/04/09 01:20:39, tkent wrote: > On 2014/04/08 14:03:09, wibling-chromium wrote: > > > Shouldn't ...
6 years, 8 months ago (2014-04-09 05:37:12 UTC) #16
wibling-chromium
The CQ bit was checked by wibling@chromium.org
6 years, 8 months ago (2014-04-09 06:46:46 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wibling@chromium.org/227083006/80001
6 years, 8 months ago (2014-04-09 06:46:52 UTC) #18
commit-bot: I haz the power
Change committed as 171119
6 years, 8 months ago (2014-04-09 06:48:17 UTC) #19
tkent
On 2014/04/09 05:37:12, Mads Ager (chromium) wrote: > On 2014/04/09 01:20:39, tkent wrote: > > ...
6 years, 8 months ago (2014-04-09 06:53:55 UTC) #20
Mads Ager (chromium)
On Wed, Apr 9, 2014 at 8:53 AM, <tkent@chromium.org> wrote: > On 2014/04/09 05:37:12, Mads ...
6 years, 8 months ago (2014-04-09 07:28:16 UTC) #21
wibling-chromium
A revert of this CL has been created in https://codereview.chromium.org/230303002/ by wibling@chromium.org. The reason for ...
6 years, 8 months ago (2014-04-09 07:38:31 UTC) #22
tkent
On 2014/04/09 07:28:16, Mads Ager (chromium) wrote: > The WeakMember case is actually no more ...
6 years, 8 months ago (2014-04-09 07:48:34 UTC) #23
wibling-chromium
The CQ bit was checked by wibling@chromium.org
6 years, 8 months ago (2014-04-10 06:44:03 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wibling@chromium.org/227083006/100001
6 years, 8 months ago (2014-04-10 06:44:10 UTC) #25
commit-bot: I haz the power
Change committed as 171236
6 years, 8 months ago (2014-04-10 06:44:45 UTC) #26
wibling-chromium
A revert of this CL has been created in https://codereview.chromium.org/232723002/ by wibling@chromium.org. The reason for ...
6 years, 8 months ago (2014-04-10 08:46:05 UTC) #27
wibling-chromium
The CQ bit was checked by wibling@chromium.org
6 years, 8 months ago (2014-04-10 11:33:54 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wibling@chromium.org/227083006/140001
6 years, 8 months ago (2014-04-10 11:34:02 UTC) #29
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 12:01:13 UTC) #30
Message was sent while issue was closed.
Change committed as 171265

Powered by Google App Engine
This is Rietveld 408576698