Skip to content

Commit

Permalink
Test updating patch
Browse files Browse the repository at this point in the history
  • Loading branch information
adjabaev authored Aug 26, 2024
1 parent 3c51f24 commit f2c2e42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions patches/warn_SkMatrix.patch
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ index 03140760d6..ec7cd35923 100644
@@ -86,7 +86,7 @@ public:
return m;
}
static SkMatrix SK_WARN_UNUSED_RESULT Translate(SkVector t) { return Translate(t.x(), t.y()); }
- static SkMatrix SK_WARN_UNUSED_RESULT Translate(SkIVector t) { return Translate(t.x(), t.y()); }
+ static SkMatrix SK_WARN_UNUSED_RESULT Translate(SkIVector t) { return Translate((SkScalar) t.x(), (SkScalar) t.y()); }
[[nodiscard]] static SkMatrix Translate(SkVector t) { return Translate(t.x(), t.y()); }
- [[nodiscard]] static SkMatrix Translate(SkIVector t) { return Translate(t.x(), t.y()); }
+ [[nodiscard]] static SkMatrix Translate(SkIVector t) { return Translate((SkScalar) t.x(), (SkScalar) t.y()); }

/** Sets SkMatrix to rotate by |deg| about a pivot point at (0, 0).

0 comments on commit f2c2e42

Please sign in to comment.