aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2015-08-28 07:39:30 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-28 07:39:30 -0700
commit7445cef42f52e15de800207e8b14a3b24f444148 (patch)
tree45decda400f29c2e79ab35527bf46023bf274f76 /src/core
parentd02b99f106702bc739d3aa4e3c21f8a0618cbb51 (diff)
Remove sys/types.h include from SkTypes.h.
It appears this was added to support SkToOffT, but SkToOffT is no longer used, so it is removed as well. Review URL: https://codereview.chromium.org/1306963004
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkDebug.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/SkDebug.cpp b/src/core/SkDebug.cpp
index 2257c7f6d8..b705a650ea 100644
--- a/src/core/SkDebug.cpp
+++ b/src/core/SkDebug.cpp
@@ -56,9 +56,4 @@ size_t SkToSizeT(uintmax_t x) {
return (size_t)x;
}
-off_t SkToOffT(intmax_t x) {
- SkASSERT((off_t)x == x);
- return (off_t)x;
-}
-
#endif