Index: tests/RecordDrawTest.cpp |
diff --git a/tests/RecordDrawTest.cpp b/tests/RecordDrawTest.cpp |
index 0dfd86a8dd19ac8fa3674b1e8af9d641d60a0f6f..43d4f6068b7f4615ffa156c6b192cab4fbd88f2e 100644 |
--- a/tests/RecordDrawTest.cpp |
+++ b/tests/RecordDrawTest.cpp |
@@ -234,7 +234,8 @@ DEF_TEST(RecordDraw_SaveLayerAffectsClipBounds, r) { |
// We draw a rectangle with a long drop shadow. We used to not update the clip |
// bounds based on SaveLayer paints, so the drop shadow could be cut off. |
SkPaint paint; |
- paint.setImageFilter(SkDropShadowImageFilter::Create(20, 0, 0, 0, SK_ColorBLACK))->unref(); |
+ paint.setImageFilter(SkDropShadowImageFilter::Create(20, 0, 0, 0, SK_ColorBLACK, |
+ SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode))->unref(); |
recorder.saveLayer(NULL, &paint); |
recorder.clipRect(SkRect::MakeWH(20, 40)); |