diff options
author | Mike Reed <reed@google.com> | 2019-08-22 11:53:05 -0400 |
---|---|---|
committer | Mike Reed <reed@google.com> | 2019-08-29 13:39:43 -0400 |
commit | 39adc88fef47133e08039d7f3c2e377dfccda7bd (patch) | |
tree | 603a48011e8fc1841da8fa9fbcd5e8775c13427a /libs/hwui/tests | |
parent | 6762470fc2e8ea3c7ba81596d4157bc02f241083 (diff) |
use rect version of join, the other is deprecated
Test: make
Change-Id: I29f4ff6cea209ac5c053a525ff06cd1bfea6c9c0
Diffstat (limited to 'libs/hwui/tests')
-rw-r--r-- | libs/hwui/tests/common/scenes/RectGridAnimation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/tests/common/scenes/RectGridAnimation.cpp b/libs/hwui/tests/common/scenes/RectGridAnimation.cpp index d5ecfaff4f0c..80b5cc191089 100644 --- a/libs/hwui/tests/common/scenes/RectGridAnimation.cpp +++ b/libs/hwui/tests/common/scenes/RectGridAnimation.cpp @@ -37,7 +37,7 @@ public: SkRegion region; for (int xOffset = 0; xOffset < 200; xOffset += 2) { for (int yOffset = 0; yOffset < 200; yOffset += 2) { - region.op(xOffset, yOffset, xOffset + 1, yOffset + 1, SkRegion::kUnion_Op); + region.op({xOffset, yOffset, xOffset + 1, yOffset + 1}, SkRegion::kUnion_Op); } } |