| Index: ui/gfx/path_win_unittest.cc
|
| diff --git a/ui/gfx/path_win_unittest.cc b/ui/gfx/path_win_unittest.cc
|
| index 9ca4cf164cf1ebb094bdcb086cba9a081ad3cd5c..1c211d7dacebe51859fe0e265c7f98a92e6aece1 100644
|
| --- a/ui/gfx/path_win_unittest.cc
|
| +++ b/ui/gfx/path_win_unittest.cc
|
| @@ -42,31 +42,36 @@ std::vector<SkIRect> GetRectsFromHRGN(HRGN region) {
|
|
|
| // Test that rectangle with round corners stil has round corners after
|
| // converting from SkPath to the HRGN.
|
| +// FIXME: this test is fragile (it depends on rrect rasterization impl)
|
| TEST(CreateHRGNFromSkPathTest, RoundCornerTest) {
|
| const SkIRect rects[] = {
|
| - { 17, 0, 33, 1},
|
| - { 12, 1, 38, 2},
|
| - { 11, 2, 39, 3},
|
| - { 9, 3, 41, 4},
|
| - { 8, 4, 42, 5},
|
| - { 6, 5, 44, 6},
|
| - { 5, 6, 45, 8},
|
| - { 4, 8, 46, 9},
|
| - { 3, 9, 47, 11},
|
| - { 2, 11, 48, 12},
|
| - { 1, 12, 49, 17},
|
| - { 0, 17, 50, 33},
|
| - { 1, 33, 49, 38},
|
| - { 2, 38, 48, 39},
|
| - { 3, 39, 47, 41},
|
| - { 4, 41, 46, 42},
|
| - { 5, 42, 45, 44},
|
| - { 6, 44, 44, 45},
|
| - { 8, 45, 42, 46},
|
| - { 9, 46, 41, 47},
|
| - { 11, 47, 39, 48},
|
| - { 12, 48, 38, 49},
|
| - { 17, 49, 33, 50},
|
| + { 16, 0, 34, 1 },
|
| + { 12, 1, 38, 2 },
|
| + { 10, 2, 40, 3 },
|
| + { 9, 3, 41, 4 },
|
| + { 7, 4, 43, 5 },
|
| + { 6, 5, 44, 6 },
|
| + { 5, 6, 45, 7 },
|
| + { 4, 7, 45, 8 },
|
| + { 4, 8, 46, 9 },
|
| + { 3, 9, 47, 10 },
|
| + { 2, 10, 47, 11 },
|
| + { 2, 11, 48, 12 },
|
| + { 1, 12, 49, 16 },
|
| + { 0, 16, 50, 34 },
|
| + { 1, 34, 49, 38 },
|
| + { 2, 38, 48, 39 },
|
| + { 2, 39, 47, 40 },
|
| + { 3, 40, 47, 41 },
|
| + { 4, 41, 46, 42 },
|
| + { 4, 42, 45, 43 },
|
| + { 5, 43, 45, 44 },
|
| + { 6, 44, 44, 45 },
|
| + { 8, 45, 42, 46 },
|
| + { 9, 46, 41, 47 },
|
| + { 11, 47, 39, 48 },
|
| + { 12, 48, 38, 49 },
|
| + { 16, 49, 34, 50 },
|
| };
|
|
|
| Path path;
|
|
|