Make bleed GM produce consistent bitmaps on all platforms
authorbsalomon <bsalomon@google.com>
Thu, 25 Aug 2016 13:45:29 +0000 (06:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 25 Aug 2016 13:45:29 +0000 (06:45 -0700)
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2264133003

Review-Url: https://codereview.chromium.org/2264133003

gm/bleed.cpp

index daa9c16..da261ef 100644 (file)
@@ -111,7 +111,7 @@ static bool make_ringed_color_bitmap(TestPixels* result, int width, int height)
     static const SkPMColor kRed   = SkPreMultiplyColor(SK_ColorRED);
     static const SkPMColor kBlack = SkPreMultiplyColor(SK_ColorBLACK);
     static const SkPMColor kWhite = SkPreMultiplyColor(SK_ColorWHITE);
-    return make_ringed_bitmap<SkPMColor>(result, width, height, kBGRA_8888_SkColorType,
+    return make_ringed_bitmap<SkPMColor>(result, width, height, kN32_SkColorType,
                                          kPremul_SkAlphaType, kBlue, kRed, kBlack, kWhite);
 }