Remove always true if statement and commented out code in GrBitmapTextContext
BUG=skia: Review URL: https://codereview.chromium.org/873473008
This commit is contained in:
parent
16a3f1758b
commit
06fb35fe07
@ -425,13 +425,10 @@ void GrBitmapTextContext::appendGlyph(GrGlyph::PackedID packed,
|
||||
SkFixed height = glyph->fBounds.height();
|
||||
|
||||
// check if we clipped out
|
||||
if (true || NULL == glyph->fPlot) {
|
||||
int x = vx >> 16;
|
||||
int y = vy >> 16;
|
||||
if (fClipRect.quickReject(x, y, x + width, y + height)) {
|
||||
// SkCLZ(3); // so we can set a break-point in the debugger
|
||||
return;
|
||||
}
|
||||
int x = vx >> 16;
|
||||
int y = vy >> 16;
|
||||
if (fClipRect.quickReject(x, y, x + width, y + height)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// If the glyph is too large we fall back to paths
|
||||
|
Loading…
Reference in New Issue
Block a user