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

Issue 76763002: De-generalize create_typeface on Windows. (Closed)

Created:
7 years, 1 month ago by bungeman-skia
Modified:
7 years, 1 month ago
Reviewers:
caryclark
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

De-generalize create_typeface on Windows. The gdi and dw backends have a local create_typeface function. This function is now called in only one place, onLegacyCreateTypeface. Move the implementation into the caller. R=caryclark@google.com Committed: https://code.google.com/p/skia/source/detail?r=12313

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -55 lines) Patch
M src/ports/SkFontHost_win.cpp View 2 chunks +8 lines, -17 lines 0 comments Download
M src/ports/SkFontHost_win_dw.cpp View 1 2 chunks +27 lines, -38 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
bungeman-skia
7 years, 1 month ago (2013-11-19 21:47:53 UTC) #1
caryclark
https://codereview.chromium.org/76763002/diff/1/src/ports/SkFontHost_win_dw.cpp File src/ports/SkFontHost_win_dw.cpp (right): https://codereview.chromium.org/76763002/diff/1/src/ports/SkFontHost_win_dw.cpp#newcode1838 src/ports/SkFontHost_win_dw.cpp:1838: hr = get_by_family_name(familyName, &fontFamily); if 'hr' is always effectively ...
7 years, 1 month ago (2013-11-19 21:56:39 UTC) #2
bungeman-skia
Now with more error checking and less conflicting names. https://codereview.chromium.org/76763002/diff/1/src/ports/SkFontHost_win_dw.cpp File src/ports/SkFontHost_win_dw.cpp (right): https://codereview.chromium.org/76763002/diff/1/src/ports/SkFontHost_win_dw.cpp#newcode1838 src/ports/SkFontHost_win_dw.cpp:1838: ...
7 years, 1 month ago (2013-11-19 22:27:34 UTC) #3
caryclark
much nicer. Thanks for cleaning this up. lgtm
7 years, 1 month ago (2013-11-20 13:15:56 UTC) #4
bungeman-skia
7 years, 1 month ago (2013-11-20 15:11:08 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r12313 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698