Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(802)

Issue 6495133: Fix a Ref count bug in SkFontHost_win_dw.cpp (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by Jare
Modified:
12 years, 2 months ago
Reviewers:
bungeman
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

We don't need to add a ref to SkTypeface here(Line 459), because FindByProcAndRef already do it. The ref count should be managed by SkTypefaceCache. (The same way as SkFontHost_win.cpp : SkCreateTypefaceFromLOGFONT)

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -3 lines) Patch
src/ports/SkFontHost_win_dw.cpp View 1 chunk +1 line, -3 lines 3 comments Download

Messages

Total messages: 4
Jare
http://codereview.appspot.com/6495133/diff/1/src/ports/SkFontHost_win_dw.cpp File src/ports/SkFontHost_win_dw.cpp (left): http://codereview.appspot.com/6495133/diff/1/src/ports/SkFontHost_win_dw.cpp#oldcode460 src/ports/SkFontHost_win_dw.cpp:460: face->ref(); We don't need to add a ref to ...
12 years, 2 months ago (2012-09-16 09:32:17 UTC) #1
bungeman
This lgtm with one style nit. It doesn't look like you can commit, so I'll ...
12 years, 2 months ago (2012-09-17 14:12:02 UTC) #2
bungeman
Committed revision 5568. Please review commit and, if the commit is acceptable, close this issue.
12 years, 2 months ago (2012-09-17 14:29:32 UTC) #3
Jare
12 years, 2 months ago (2012-09-18 11:12:38 UTC) #4
On 2012/09/17 14:29:32, bungeman wrote:

OK, Thanks!
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b