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:
parent
a9e9a25471
commit
22e967228d
@ -297,4 +297,3 @@ SkFixed SkFixedSinCos(SkFixed radians, SkFixed* cosValuePtr) {
|
||||
}
|
||||
return sinValue;
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user