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

Unified Diff: include/utils/SkRandom.h

Issue 134373006: remove (now unused) Sk64 -- just use int64_t (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 11 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') | src/core/Sk64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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); }
« no previous file with comments | « include/core/SkTypes.h ('k') | src/core/Sk64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698