| Index: src/fonts/SkRandomScalerContext.cpp
|
| diff --git a/src/fonts/SkRandomScalerContext.cpp b/src/fonts/SkRandomScalerContext.cpp
|
| index 1f6fbe041ef0a9990d298afc8befeabb77791587..c555dd2294457012f5384bfcf0a0e840554c7083 100644
|
| --- a/src/fonts/SkRandomScalerContext.cpp
|
| +++ b/src/fonts/SkRandomScalerContext.cpp
|
| @@ -60,7 +60,7 @@ void SkRandomScalerContext::generateAdvance(SkGlyph* glyph) {
|
| void SkRandomScalerContext::generateMetrics(SkGlyph* glyph) {
|
| // Here we will change the mask format of the glyph
|
| // NOTE this is being overridden by the base class
|
| - SkMask::Format format;
|
| + SkMask::Format format = SkMask::kARGB32_Format; // init to handle defective compilers
|
| switch (glyph->getGlyphID() % 4) {
|
| case 0:
|
| format = SkMask::kLCD16_Format;
|
|
|