Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(732)

Unified Diff: src/core/SkString.cpp

Issue 1314583003: Replace SkPin32 with SkTPin and remove. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add comment. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkFontStyle.cpp ('k') | src/effects/SkMagnifierImageFilter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkString.cpp
diff --git a/src/core/SkString.cpp b/src/core/SkString.cpp
index 9110d80eb9d704966ec5216be0a6e86307f3281a..d93f662da3d8bc0a80ca96903752bbcc3977ba1e 100644
--- a/src/core/SkString.cpp
+++ b/src/core/SkString.cpp
@@ -509,7 +509,7 @@ void SkString::insertU64(size_t offset, uint64_t dec, int minDigits) {
}
void SkString::insertHex(size_t offset, uint32_t hex, int minDigits) {
- minDigits = SkPin32(minDigits, 0, 8);
+ minDigits = SkTPin(minDigits, 0, 8);
static const char gHex[] = "0123456789ABCDEF";
« no previous file with comments | « src/core/SkFontStyle.cpp ('k') | src/effects/SkMagnifierImageFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698