Sanitizing source files in Housekeeper-Nightly

git-svn-id: http://skia.googlecode.com/svn/trunk@12793 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
skia.committer@gmail.com 2013-12-20 07:01:36 +00:00
parent a9e9a25471
commit 22e967228d
3 changed files with 2 additions and 4 deletions

View File

@ -297,4 +297,3 @@ SkFixed SkFixedSinCos(SkFixed radians, SkFixed* cosValuePtr) {
}
return sinValue;
}

View File

@ -391,7 +391,7 @@ void GrDistanceFieldTextContext::drawPosText(const char text[], size_t byteLengt
if (glyph.fWidth) {
SkScalar x = pos[0];
SkScalar y = scalarsPerPosition == 1 ? constY : pos[1];
this->drawPackedGlyph(GrGlyph::Pack(glyph.getGlyphID(),
glyph.getSubXFixed(),
glyph.getSubYFixed()),
@ -405,4 +405,3 @@ void GrDistanceFieldTextContext::drawPosText(const char text[], size_t byteLengt
}
}
}

View File

@ -1821,7 +1821,7 @@ void SkGpuDevice::drawPosText(const SkDraw& draw, const void* text,
SkAutoGlyphCache autoCache(context.getSkPaint(), &this->fLeakyProperties, NULL);
SkGlyphCache* cache = autoCache.getCache();
GrFontScaler* fontScaler = get_gr_font_scaler(cache);
context.drawPosText((const char *)text, byteLength, pos, constY, scalarsPerPos,
cache, fontScaler);
#endif