Index: cc/output/renderer_pixeltest.cc |
diff --git a/cc/output/renderer_pixeltest.cc b/cc/output/renderer_pixeltest.cc |
index bfad4ba0c1e9d45e49035ebd938d205376499c8f..269ec585a15a14db189e53ff5cff8090e1dc6060 100644 |
--- a/cc/output/renderer_pixeltest.cc |
+++ b/cc/output/renderer_pixeltest.cc |
@@ -1337,10 +1337,11 @@ TYPED_TEST(RendererPixelTest, FastPassSaturateFilter) { |
pass_list.push_back(child_pass.Pass()); |
pass_list.push_back(root_pass.Pass()); |
+ // This test blends slightly differently with the software renderer vs. the gl |
+ // renderer so use a fuzzy comparator. |
EXPECT_TRUE(this->RunPixelTest( |
- &pass_list, |
- base::FilePath(FILE_PATH_LITERAL("blue_yellow_alpha.png")), |
- ExactPixelComparator(true))); |
+ &pass_list, base::FilePath(FILE_PATH_LITERAL("blue_yellow_alpha.png")), |
+ FuzzyForSoftwareOnlyPixelComparator<TypeParam>(false))); |
} |
TYPED_TEST(RendererPixelTest, FastPassFilterChain) { |
@@ -1408,10 +1409,12 @@ TYPED_TEST(RendererPixelTest, FastPassFilterChain) { |
pass_list.push_back(child_pass.Pass()); |
pass_list.push_back(root_pass.Pass()); |
+ // This test blends slightly differently with the software renderer vs. the gl |
+ // renderer so use a fuzzy comparator. |
EXPECT_TRUE(this->RunPixelTest( |
&pass_list, |
base::FilePath(FILE_PATH_LITERAL("blue_yellow_filter_chain.png")), |
- ExactPixelComparator(true))); |
+ FuzzyForSoftwareOnlyPixelComparator<TypeParam>(false))); |
} |
TYPED_TEST(RendererPixelTest, FastPassColorFilterAlphaTranslation) { |