Index: tests/CTest.cpp |
diff --git a/tests/CTest.cpp b/tests/CTest.cpp |
index 81702ac7d08287b42c3f2c0fbf67b6c6fbc265f9..413f629ee3f2f4bfc4f1f24a2b01e4a5817719c3 100644 |
--- a/tests/CTest.cpp |
+++ b/tests/CTest.cpp |
@@ -18,8 +18,10 @@ static void test_c(skiatest::Reporter* reporter) { |
1, 1, ct, PREMUL_SK_ALPHATYPE |
}; |
uint32_t pixel[1] = { 0 }; |
+ sk_surfaceprops_t surfaceProps = { UNKNOWN_SK_PIXELGEOMETRY }; |
- sk_surface_t* surface = sk_surface_new_raster_direct(&info, pixel, sizeof(uint32_t)); |
+ sk_surface_t* surface = sk_surface_new_raster_direct(&info, pixel, sizeof(uint32_t), |
+ &surfaceProps); |
sk_paint_t* paint = sk_paint_new(); |
sk_canvas_t* canvas = sk_surface_get_canvas(surface); |