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

Unified Diff: src/core/SkDebug.cpp

Issue 1306963004: Remove sys/types.h include from SkTypes.h. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Also remove SkToOffT. 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 | « include/core/SkTypes.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkDebug.cpp
diff --git a/src/core/SkDebug.cpp b/src/core/SkDebug.cpp
index 2257c7f6d8c9e72f61d86e87eeca94b4fa4a5762..b705a650ea2ce237ffef6a0f9d39b252052f9aab 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
« no previous file with comments | « include/core/SkTypes.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698