Index: cc/trees/layer_tree_host_pixeltest_filters.cc |
diff --git a/cc/trees/layer_tree_host_pixeltest_filters.cc b/cc/trees/layer_tree_host_pixeltest_filters.cc |
index 7068b4b1047379c896d5c504f776e57dcc225150..a866a14283009f54c681a13af9d57e65c07c5524 100644 |
--- a/cc/trees/layer_tree_host_pixeltest_filters.cc |
+++ b/cc/trees/layer_tree_host_pixeltest_filters.cc |
@@ -175,11 +175,13 @@ TEST_F(LayerTreeHostFiltersPixelTest, ImageFilterClipped) { |
colorFilter.get(), |
NULL, |
&cropRect)); |
+ FilterOperations filters; |
+ filters.Append(FilterOperation::CreateReferenceFilter(filter)); |
// Make the foreground layer's render surface be clipped by the background |
// layer. |
background->SetMasksToBounds(true); |
- foreground->SetFilter(filter); |
+ foreground->SetFilters(filters); |
// Then we translate the foreground up by 100 pixels in Y, so the cropped |
// region is moved to to the top. This ensures that the crop rect is being |