Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(509)

Unified Diff: cc/trees/layer_tree_host_pixeltest_filters.cc

Issue 17005007: Upgrading Mesa to 9.0.3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebaselined Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/data/background_filter_blur_outsets.png ('k') | skia/skia_test_expectations.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « cc/test/data/background_filter_blur_outsets.png ('k') | skia/skia_test_expectations.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698