Index: tests/SerializationTest.cpp |
diff --git a/tests/SerializationTest.cpp b/tests/SerializationTest.cpp |
index ff9b342074adc1d7d8b5d54d4c7364077cda633b..11a705f8ce031bfb959b861a642748b1f8e8593e 100644 |
--- a/tests/SerializationTest.cpp |
+++ b/tests/SerializationTest.cpp |
@@ -558,7 +558,7 @@ |
builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f), |
SkVector3::Make(1.0f, 0.0f, 0.0f))); |
- builder.setAmbientLightColor(SkColor3f::Make(0.2f, 0.2f, 0.2f)); |
+ builder.add(SkLights::Light::MakeAmbient(SkColor3f::Make(0.2f, 0.2f, 0.2f))); |
sk_sp<SkLights> fLights = builder.finish(); |