summaryrefslogtreecommitdiffstats
path: root/cc/trees/layer_tree_host_pixeltest_filters.cc
diff options
context:
space:
mode:
authorsenorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-25 02:58:22 +0000
committersenorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-07-25 02:58:22 +0000
commit98c19886b3d01f3adeded3c4d4297e404cc0b934 (patch)
tree6f79043f154d8361f6231baa8ba8fd6dc93ecec2 /cc/trees/layer_tree_host_pixeltest_filters.cc
parent20790a2251838ef5d3f2432ba6f0c9f54e7c7838 (diff)
downloadchromium_src-98c19886b3d01f3adeded3c4d4297e404cc0b934.zip
chromium_src-98c19886b3d01f3adeded3c4d4297e404cc0b934.tar.gz
chromium_src-98c19886b3d01f3adeded3c4d4297e404cc0b934.tar.bz2
Disable BackgroundFilterBlurOutsets until the upcoming skia roll.
BUG= TBR=danakj,robertphilips@chromium.org Review URL: https://codereview.chromium.org/20240002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213581 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/trees/layer_tree_host_pixeltest_filters.cc')
-rw-r--r--cc/trees/layer_tree_host_pixeltest_filters.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/cc/trees/layer_tree_host_pixeltest_filters.cc b/cc/trees/layer_tree_host_pixeltest_filters.cc
index da42f4c..c6c1a78 100644
--- a/cc/trees/layer_tree_host_pixeltest_filters.cc
+++ b/cc/trees/layer_tree_host_pixeltest_filters.cc
@@ -51,7 +51,7 @@ TEST_F(LayerTreeHostFiltersPixelTest, BackgroundFilterBlur) {
base::FilePath(FILE_PATH_LITERAL("background_filter_blur.png")));
}
-TEST_F(LayerTreeHostFiltersPixelTest, BackgroundFilterBlurOutsets) {
+TEST_F(LayerTreeHostFiltersPixelTest, DISABLED_BackgroundFilterBlurOutsets) {
scoped_refptr<SolidColorLayer> background = CreateSolidColorLayer(
gfx::Rect(200, 200), SK_ColorWHITE);
@@ -71,10 +71,7 @@ TEST_F(LayerTreeHostFiltersPixelTest, BackgroundFilterBlurOutsets) {
filters.Append(FilterOperation::CreateBlurFilter(5.f));
blur->SetBackgroundFilters(filters);
-// TODO(senorblanco): Mark this test fuzzy on all platforms for now, until
-// the next Skia roll. Then uncomment the #if below, and put it back to only
-// being fuzzy on Win.
-// #if defined(OS_WIN)
+#if defined(OS_WIN)
// Windows has 2250 pixels off by at most 2: crbug.com/259922
float percentage_pixels_large_error = 5.625f; // 2250px / (200*200)
float percentage_pixels_small_error = 0.0f;
@@ -88,7 +85,7 @@ TEST_F(LayerTreeHostFiltersPixelTest, BackgroundFilterBlurOutsets) {
average_error_allowed_in_bad_pixels,
large_error_allowed,
small_error_allowed));
-// #endif
+#endif
RunPixelTest(GL_WITH_BITMAP,
background,