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 0313830024181a1027c4bf2872463699ca5536a8..1e2bb302abf0dddab298f2be238ad533e687ef31 100644 |
--- a/cc/trees/layer_tree_host_pixeltest_filters.cc |
+++ b/cc/trees/layer_tree_host_pixeltest_filters.cc |
@@ -11,7 +11,15 @@ |
namespace cc { |
namespace { |
-class LayerTreeHostFiltersPixelTest : public LayerTreePixelTest {}; |
+class LayerTreeHostFiltersPixelTest : public LayerTreePixelTest { |
+ virtual void BeginTest() OVERRIDE; |
+}; |
+ |
+void LayerTreeHostFiltersPixelTest::BeginTest() { |
+ LayerTreePixelTest::BeginTest(); |
+ pixel_comparator_.reset( |
+ new FuzzyPixelComparator(true, 100.f, 0.f, 1.f, 2, 0)); |
+} |
TEST_F(LayerTreeHostFiltersPixelTest, BackgroundFilterBlur) { |
scoped_refptr<SolidColorLayer> background = CreateSolidColorLayer( |