http://codereview.appspot.com/5519045/diff/1/src/ports/SkFontHost_mac_coretex... File src/ports/SkFontHost_mac_coretext.cpp (right): http://codereview.appspot.com/5519045/diff/1/src/ports/SkFontHost_mac_coretex... src/ports/SkFontHost_mac_coretext.cpp:32: #ifdef CGFLOAT_IS_DOUBLE Remove this and use ScalarToCG instead http://codereview.appspot.com/5519045/diff/1/src/ports/SkFontHost_mac_coretex... src/ports/SkFontHost_mac_coretext.cpp:1302: theMetrics.fTop = SkCGFloatToScalar(-CGRectGetMaxY_inline(theBounds)); s/SkCGFloatToScalar/ScalarToCG/
http://codereview.appspot.com/5519045/diff/1/src/ports/SkFontHost_mac_coretex... File src/ports/SkFontHost_mac_coretext.cpp (right): http://codereview.appspot.com/5519045/diff/1/src/ports/SkFontHost_mac_coretex... src/ports/SkFontHost_mac_coretext.cpp:32: #ifdef CGFLOAT_IS_DOUBLE On 2012/01/05 20:59:39, caryclark1 wrote: > Remove this and use ScalarToCG instead Done. http://codereview.appspot.com/5519045/diff/1/src/ports/SkFontHost_mac_coretex... src/ports/SkFontHost_mac_coretext.cpp:1302: theMetrics.fTop = SkCGFloatToScalar(-CGRectGetMaxY_inline(theBounds)); On 2012/01/05 20:59:39, caryclark1 wrote: > s/SkCGFloatToScalar/ScalarToCG/ Done. Thanks for pointing this out, I skimmed through and didn't see the existing converters.
LGTM
Committed revision 2979.