Remove unecessary check from android framework build

R=bungeman@google.com, raph@google.com

Author: djsollen@google.com

Review URL: https://codereview.chromium.org/495063002
This commit is contained in:
djsollen 2014-08-21 07:33:40 -07:00 committed by Commit bot
parent ef24b7d338
commit 729776c810

View File

@ -1508,13 +1508,6 @@ void SkScalerContext_FreeType::emboldenIfNeeded(FT_Face face, FT_GlyphSlot glyph
return;
}
#if defined(SK_BUILD_FOR_ANDROID_FRAMEWORK)
// Android doesn't want to embolden a font that is already bold.
if ((fFace->style_flags & FT_STYLE_FLAG_BOLD)) {
return;
}
#endif
switch (glyph->format) {
case FT_GLYPH_FORMAT_OUTLINE:
FT_Pos strength;