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

Issue 18882002: [oilpan] Move CSSSegmentedFontFace to the managed heap (Closed)

Created:
7 years, 5 months ago by haraken
Modified:
7 years, 5 months ago
CC:
blink-reviews, adamk+oilpan_chromium.org, Mads Ager (chromium), abarth-chromium
Visibility:
Public.

Description

[oilpan] Move CSSSegmentedFontFace to the managed heap The lifetime around CSSFontFace is complicated, and the CL in issue 18375005 (which tried to move CSSSegmentedFontFace and CSSFontFace at the same time) caused a couple of crashes. To separate problems, I'd like to first move CSSSegmentedFontFace in this CL. I'll move CSSFontFace in the next CL. R=vegorov@google.com, zerny@google.com Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153781

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -34 lines) Patch
M Source/core/css/CSSFontFace.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/css/CSSFontFace.cpp View 1 4 chunks +9 lines, -5 lines 0 comments Download
M Source/core/css/CSSFontSelector.h View 2 chunks +4 lines, -2 lines 1 comment Download
M Source/core/css/CSSFontSelector.cpp View 1 4 chunks +18 lines, -7 lines 0 comments Download
M Source/core/css/CSSSegmentedFontFace.h View 1 3 chunks +9 lines, -4 lines 0 comments Download
M Source/core/css/CSSSegmentedFontFace.cpp View 1 5 chunks +15 lines, -6 lines 0 comments Download
M Source/core/css/FontLoader.cpp View 1 4 chunks +12 lines, -8 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
haraken
This CL solves the issue described in [1] of https://codereview.chromium.org/18375005/#msg16
7 years, 5 months ago (2013-07-09 06:57:55 UTC) #1
haraken
PTAL
7 years, 5 months ago (2013-07-09 06:58:10 UTC) #2
haraken
This is the first CL I talked about in the sync up. In the second ...
7 years, 5 months ago (2013-07-09 07:10:53 UTC) #3
Vyacheslav Egorov (Chromium)
I do not feel that NULLing the m_fontSelector back pointer and then checking for NULL ...
7 years, 5 months ago (2013-07-09 11:43:27 UTC) #4
zerny-google
On 2013/07/09 11:43:27, Vyacheslav Egorov wrote: > (*) When CSSFontSelector is moved to the managed ...
7 years, 5 months ago (2013-07-09 11:48:21 UTC) #5
haraken
> We had discussed this with Ian and when CSSFontSelector is destroyed(*) it > should ...
7 years, 5 months ago (2013-07-09 12:04:33 UTC) #6
haraken
Updated the CL. PTAL.
7 years, 5 months ago (2013-07-09 12:18:23 UTC) #7
zerny-google
lgtm https://codereview.chromium.org/18882002/diff/9001/Source/core/css/CSSFontSelector.h File Source/core/css/CSSFontSelector.h (right): https://codereview.chromium.org/18882002/diff/9001/Source/core/css/CSSFontSelector.h#newcode89 Source/core/css/CSSFontSelector.h:89: typedef HashMap<unsigned, Persistent<CSSSegmentedFontFace> > SegmentedFontFaceHashMap; I think this ...
7 years, 5 months ago (2013-07-09 13:09:09 UTC) #8
Vyacheslav Egorov (Google)
LGTM!
7 years, 5 months ago (2013-07-09 13:09:30 UTC) #9
haraken
Thanks! I'll check tests again and land it. I'll upload a CL to move CSSFontFace ...
7 years, 5 months ago (2013-07-09 13:11:46 UTC) #10
haraken
7 years, 5 months ago (2013-07-09 13:43:41 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 manually as r153781 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698