| Index: include/core/SkTemplates.h
|
| ===================================================================
|
| --- include/core/SkTemplates.h (revision 9972)
|
| +++ include/core/SkTemplates.h (working copy)
|
| @@ -64,13 +64,6 @@
|
| );
|
| }
|
|
|
| -/** Returns true if the source value 's' will fit in the destination type 'D'. */
|
| -template <typename D, typename S> inline bool SkTFitsIn(S s) {
|
| - // the cast to <S> is just to restore the signedness of S, to avoid
|
| - // sign-unsigned comparison warnings.
|
| - return static_cast<S>(static_cast<D>(s)) == s;
|
| -}
|
| -
|
| /** \class SkAutoTCallVProc
|
|
|
| Call a function when this goes out of scope. The template uses two
|
|
|