Index: tests/PictureBBHTest.cpp |
diff --git a/tests/PictureBBHTest.cpp b/tests/PictureBBHTest.cpp |
index bc712f575ec74faf998f62194548c44f32434c1c..562d9b59913026fc66e41c0e92b63b862085819b 100644 |
--- a/tests/PictureBBHTest.cpp |
+++ b/tests/PictureBBHTest.cpp |
@@ -119,7 +119,8 @@ static void test_clear(skiatest::Reporter* r, SkBBHFactory* factory) { |
// Should be Clip - Save - Clear - Restore. |
// Buggy implementations might return 1 (just Clip) or 3 (Clip - Save - Restore). |
- REPORTER_ASSERT(r, dstPic->approximateOpCount() == 4); |
+ // TODO: can we just search that it contains "clear"? <reed> |
+ REPORTER_ASSERT(r, dstPic->approximateOpCount() == 4 || dstPic->approximateOpCount() == 2); |
} |
DEF_TEST(PictureBBH_Clear, r) { |