| Index: include/utils/SkRandom.h
|
| diff --git a/include/utils/SkRandom.h b/include/utils/SkRandom.h
|
| index dc9e681c5a72c0bb2186cb67206e90b5a06c6734..e71be3a9d5c7cb81b49f5e049a0ef00f55a09f84 100644
|
| --- a/include/utils/SkRandom.h
|
| +++ b/include/utils/SkRandom.h
|
| @@ -12,10 +12,6 @@
|
|
|
| #include "SkScalar.h"
|
|
|
| -#ifdef SK_SUPPORT_LEGACY_SK64
|
| - #include "Sk64.h"
|
| -#endif
|
| -
|
| /** \class SkLCGRandom
|
|
|
| Utility class that implements pseudo random 32bit numbers using a fast
|
| @@ -134,13 +130,6 @@ public:
|
| return (hi << 32) | this->nextU();
|
| }
|
|
|
| -#ifdef SK_SUPPORT_LEGACY_SK64
|
| - SK_ATTR_DEPRECATED("use next64()")
|
| - void next64(Sk64* a) {
|
| - SkASSERT(a);
|
| - a->set(this->nextS(), this->nextU());
|
| - }
|
| -#endif
|
| /**
|
| * Return the current seed. This allows the caller to later reset to the
|
| * same seed (using setSeed) so it can generate the same sequence.
|
| @@ -295,14 +284,6 @@ public:
|
| return (hi << 32) | this->nextU();
|
| }
|
|
|
| -#ifdef SK_SUPPORT_LEGACY_SK64
|
| - SK_ATTR_DEPRECATED("use next64()")
|
| - void next64(Sk64* a) {
|
| - SkASSERT(a);
|
| - a->set(this->nextS(), this->nextU());
|
| - }
|
| -#endif
|
| -
|
| /** Reset the random object.
|
| */
|
| void setSeed(uint32_t seed) { init(seed); }
|
|
|