aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar vjiaoblack <vjiaoblack@google.com>2016-08-29 10:22:09 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-29 10:22:09 -0700
commita8eabc4a2a5559a1410fdbb348f967cd1554b325 (patch)
tree03d8a80ef4b2e62eaacbfee605b3ffc3162fa5c7 /tests
parent84839f6fb3d0de9088be3d53e81df195331ed1c9 (diff)
Moved ambient lights out of SkLight's light array
Diffstat (limited to 'tests')
-rw-r--r--tests/SerializationTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SerializationTest.cpp b/tests/SerializationTest.cpp
index 11a705f8ce..ff9b342074 100644
--- a/tests/SerializationTest.cpp
+++ b/tests/SerializationTest.cpp
@@ -558,7 +558,7 @@ DEF_TEST(Serialization, reporter) {
builder.add(SkLights::Light::MakeDirectional(SkColor3f::Make(1.0f, 1.0f, 1.0f),
SkVector3::Make(1.0f, 0.0f, 0.0f)));
- builder.add(SkLights::Light::MakeAmbient(SkColor3f::Make(0.2f, 0.2f, 0.2f)));
+ builder.setAmbientLightColor(SkColor3f::Make(0.2f, 0.2f, 0.2f));
sk_sp<SkLights> fLights = builder.finish();