Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f2fdcd9 authored by Mike Reed's avatar Mike Reed Committed by Android (Google) Code Review
Browse files

Merge "getBlendMode is deprecated"

parents 2ba6028c 931970b2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -61,11 +61,11 @@ TEST(SkiaBehavior, lightingColorFilter_simplify) {
TEST(SkiaBehavior, porterDuffCreateIsCached) {
    SkPaint paint;
    paint.setBlendMode(SkBlendMode::kOverlay);
    auto expected = paint.getBlendMode();
    auto expected = paint.asBlendMode();
    paint.setBlendMode(SkBlendMode::kClear);
    ASSERT_NE(expected, paint.getBlendMode());
    ASSERT_NE(expected, paint.asBlendMode());
    paint.setBlendMode(SkBlendMode::kOverlay);
    ASSERT_EQ(expected, paint.getBlendMode());
    ASSERT_EQ(expected, paint.asBlendMode());
}

TEST(SkiaBehavior, pathIntersection) {