Fixed sk_getMetrics_utf32_xy function

The unused parameters x and y here seems to be a mistake.
Review URL: https://codereview.appspot.com/7386055

git-svn-id: http://skia.googlecode.com/svn/trunk@7873 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
sugoi@google.com 2013-02-26 21:56:19 +00:00
parent 1744f97ea7
commit 8d38d516c0

View File

@ -842,7 +842,7 @@ static const SkGlyph& sk_getMetrics_utf32_xy(SkGlyphCache* cache,
const int32_t* ptr = *(const int32_t**)text;
SkUnichar uni = *--ptr;
*text = (const char*)ptr;
return cache->getUnicharMetrics(uni);
return cache->getUnicharMetrics(uni, x, y);
}
static const SkGlyph& sk_getMetrics_glyph_00(SkGlyphCache* cache,
@ -1689,7 +1689,7 @@ static const SkMaskGamma& cachedMaskGamma(SkScalar contrast, SkScalar paintGamma
/**
* We ensure that the rec is self-consistent and efficient (where possible)
*/
void SkScalerContext::PostMakeRec(const SkPaint& paint, SkScalerContext::Rec* rec) {
void SkScalerContext::PostMakeRec(const SkPaint&, SkScalerContext::Rec* rec) {
/**
* If we're asking for A8, we force the colorlum to be gray, since that
* limits the number of unique entries, and the scaler will only look at