Index: tests/ImageFilterTest.cpp |
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp |
index 012b1a98624ff146c0ff1000d2c0f87e8816d1d8..fc6f9472f3cabdabdb22e419f987cef6c341f9cd 100644 |
--- a/tests/ImageFilterTest.cpp |
+++ b/tests/ImageFilterTest.cpp |
@@ -261,7 +261,7 @@ DEF_TEST(ImageFilter, reporter) { |
paint.setImageFilter(SkLightingImageFilter::CreateSpotLitSpecular( |
location, target, specularExponent, 180, |
0xFFFFFFFF, SK_Scalar1, SK_Scalar1, SK_Scalar1, |
- bmSrc))->unref(); |
+ bmSrc, NULL))->unref(); |
SkCanvas canvas(result); |
SkRect r = SkRect::MakeWH(SkIntToScalar(kBitmapSize), |
SkIntToScalar(kBitmapSize)); |
@@ -462,9 +462,9 @@ DEF_TEST(ImageFilterDrawTiled, reporter) { |
SK_Scalar1, SK_Scalar1, SK_Scalar1, SK_Scalar1, SK_ColorGREEN, |
SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode) }, |
{ "diffuse lighting", SkLightingImageFilter::CreatePointLitDiffuse( |
- location, SK_ColorGREEN, 0, 0) }, |
+ location, SK_ColorGREEN, 0, 0, NULL, NULL) }, |
{ "specular lighting", |
- SkLightingImageFilter::CreatePointLitSpecular(location, SK_ColorGREEN, 0, 0, 0) }, |
+ SkLightingImageFilter::CreatePointLitSpecular(location, SK_ColorGREEN, 0, 0, 0, NULL, NULL) }, |
{ "matrix convolution", |
SkMatrixConvolutionImageFilter::Create( |
kernelSize, kernel, gain, bias, SkIPoint::Make(1, 1), |
@@ -1163,7 +1163,7 @@ DEF_TEST(ImageFilterCanComputeFastBounds, reporter) { |
SkPoint3 location = SkPoint3::Make(0, 0, SK_Scalar1); |
SkAutoTUnref<SkImageFilter> lighting(SkLightingImageFilter::CreatePointLitDiffuse( |
- location, SK_ColorGREEN, 0, 0)); |
+ location, SK_ColorGREEN, 0, 0, NULL, NULL)); |
REPORTER_ASSERT(reporter, !lighting->canComputeFastBounds()); |
SkAutoTUnref<SkImageFilter> gray(make_grayscale(nullptr, nullptr)); |