Stop using Skia's custom min function
Change-Id: I0644ec5966cbedd015764e797f53713e4cdaa89e
Reviewed-on: https://skia-review.googlesource.com/c/libgifcodec/+/268900
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
diff --git a/SkLibGifCodec.cpp b/SkLibGifCodec.cpp
index e6fab5c..b9d1799 100644
--- a/SkLibGifCodec.cpp
+++ b/SkLibGifCodec.cpp
@@ -464,7 +464,7 @@
} else {
// Make sure the repeatCount does not take us beyond the end of the dst
SkASSERT(this->dstInfo().height() >= yBegin);
- repeatCount = SkTMin(repeatCount, this->dstInfo().height() - yBegin);
+ repeatCount = std::min(repeatCount, this->dstInfo().height() - yBegin);
}
if (!fFilledBackground) {