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

Issue 2178883002: Added purge method to SimpleFontData and PlatformFontData. (Closed)

Created:
4 years, 5 months ago by tasak
Modified:
4 years, 4 months ago
Reviewers:
haraken, drott, esprehn, bashi
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added purge method to SimpleFontData and PlatformFontData. Purge the followings: - m_harfBuzzFace and m_typeface in PlatformFontData, and - m_glyphToBoundsMap in SimpleFontData BUG=

Patch Set 1 #

Total comments: 1

Patch Set 2 : Removed m_typeface = nullptr. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M third_party/WebKit/Source/platform/fonts/FontPlatformData.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/FontPlatformData.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/SimpleFontData.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/fonts/SimpleFontData.cpp View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (7 generated)
tasak
Would you review this CL?
4 years, 5 months ago (2016-07-25 09:16:02 UTC) #4
haraken
Who calls the purgeMemory? Is it a part of landing https://codereview.chromium.org/2130683002/?
4 years, 5 months ago (2016-07-25 09:21:38 UTC) #5
tasak
On 2016/07/25 09:21:38, haraken wrote: > Who calls the purgeMemory? Blink's MemoryCoordinator will call. > ...
4 years, 5 months ago (2016-07-25 09:28:31 UTC) #6
haraken
On 2016/07/25 09:28:31, tasak wrote: > On 2016/07/25 09:21:38, haraken wrote: > > Who calls ...
4 years, 5 months ago (2016-07-25 09:41:44 UTC) #7
tasak
On 2016/07/25 09:41:44, haraken wrote: > On 2016/07/25 09:28:31, tasak wrote: > > On 2016/07/25 ...
4 years, 5 months ago (2016-07-25 09:43:30 UTC) #8
haraken
On 2016/07/25 09:43:30, tasak wrote: > On 2016/07/25 09:41:44, haraken wrote: > > On 2016/07/25 ...
4 years, 5 months ago (2016-07-25 09:47:09 UTC) #9
tasak
On 2016/07/25 09:47:09, haraken wrote: > On 2016/07/25 09:43:30, tasak wrote: > > On 2016/07/25 ...
4 years, 5 months ago (2016-07-25 09:50:45 UTC) #10
drott
Drive by: This looks a bit coarse to me. I am all for memory improvements ...
4 years, 5 months ago (2016-07-25 12:28:07 UTC) #14
bashi
On 2016/07/25 09:47:09, haraken wrote: > On 2016/07/25 09:43:30, tasak wrote: > > On 2016/07/25 ...
4 years, 5 months ago (2016-07-25 23:24:52 UTC) #15
tasak
On 2016/07/25 12:28:07, drott wrote: > Drive by: This looks a bit coarse to me. ...
4 years, 4 months ago (2016-07-26 05:05:49 UTC) #16
drott
On 2016/07/26 at 05:05:49, tasak wrote: > On 2016/07/25 12:28:07, drott wrote: > > Drive ...
4 years, 4 months ago (2016-07-26 07:27:20 UTC) #17
haraken
On 2016/07/26 07:27:20, drott wrote: > On 2016/07/26 at 05:05:49, tasak wrote: > > On ...
4 years, 4 months ago (2016-07-26 11:02:02 UTC) #18
drott
On 2016/07/26 at 11:02:02, haraken wrote: > Sorry for lacking the context for this CL. ...
4 years, 4 months ago (2016-07-26 13:12:00 UTC) #19
haraken
On 2016/07/26 13:12:00, drott wrote: > On 2016/07/26 at 11:02:02, haraken wrote: > > > ...
4 years, 4 months ago (2016-07-26 13:18:35 UTC) #20
esprehn
Thus patch is just dead code Id rather not do that. Instead lets make this ...
4 years, 4 months ago (2016-07-26 22:02:09 UTC) #21
tasak
On 2016/07/26 13:12:00, drott wrote: > On 2016/07/26 at 11:02:02, haraken wrote: > > > ...
4 years, 4 months ago (2016-07-27 02:25:12 UTC) #22
tasak
On 2016/07/26 22:02:09, esprehn wrote: > Thus patch is just dead code Id rather not ...
4 years, 4 months ago (2016-07-27 02:27:01 UTC) #23
drott
On 2016/07/27 at 02:25:12, tasak wrote: > I think, current FontCache()->invalidate() checks whether each font ...
4 years, 4 months ago (2016-07-27 07:17:28 UTC) #24
tasak
Thank you for explanation. On 2016/07/27 07:17:28, drott wrote: > On 2016/07/27 at 02:25:12, tasak ...
4 years, 4 months ago (2016-07-28 08:58:25 UTC) #25
tasak
4 years, 4 months ago (2016-07-28 09:05:51 UTC) #26
So I would like to close this, because most of FontCache's things are not
currently recreated. 
Thank you.

Powered by Google App Engine
This is Rietveld 408576698