Index: gm/bitmaprect.cpp |
diff --git a/gm/bitmaprect.cpp b/gm/bitmaprect.cpp |
index ca5b26d9927519b994333060017aa2878281fb05..aa71f48eb09ae115f82b0388ff40bcd83f424086 100644 |
--- a/gm/bitmaprect.cpp |
+++ b/gm/bitmaprect.cpp |
@@ -161,9 +161,9 @@ static void make_big_bitmap(SkBitmap* bitmap) { |
for (int x = 0; x < gXSize; ++x) { |
if (x <= gBorderWidth || x >= gXSize-gBorderWidth || |
y <= gBorderWidth || y >= gYSize-gBorderWidth) { |
- *bitmap->getAddr32(x, y) = 0x88FFFFFF; |
+ *bitmap->getAddr32(x, y) = SkPreMultiplyColor(0x88FFFFFF); |
} else { |
- *bitmap->getAddr32(x, y) = 0x88FF0000; |
+ *bitmap->getAddr32(x, y) = SkPreMultiplyColor(0x88FF0000); |
} |
} |
} |