| Index: tests/LayerRasterizerTest.cpp
|
| diff --git a/tests/LayerRasterizerTest.cpp b/tests/LayerRasterizerTest.cpp
|
| index b393525fe124fba5528e91f17845d58dc702b2f4..8e6b64c2076db47b45a5a0efe2e84485f75528d5 100644
|
| --- a/tests/LayerRasterizerTest.cpp
|
| +++ b/tests/LayerRasterizerTest.cpp
|
| @@ -85,7 +85,7 @@ DEF_TEST(LayerRasterizer_copy, reporter) {
|
| // Create a bunch of paints with different flags.
|
| for (uint32_t flags = 0x01; flags < SkPaint::kAllFlags; flags <<= 1) {
|
| paint.setFlags(flags);
|
| - builder.addLayer(paint, flags, flags);
|
| + builder.addLayer(paint, static_cast<SkScalar>(flags), static_cast<SkScalar>(flags));
|
| }
|
|
|
| // Create a layer rasterizer with all the existing layers.
|
|
|