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

Unified Diff: runtime/vm/random.h

Issue 212723002: Revert "- Make ports be less predictable." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 | « runtime/vm/port.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/random.h
diff --git a/runtime/vm/random.h b/runtime/vm/random.h
index 06d789a9ec7169ad84102e581a597a7b5b544de8..c1c69d63efed579195a8314f3126327415c2526f 100644
--- a/runtime/vm/random.h
+++ b/runtime/vm/random.h
@@ -10,7 +10,7 @@
namespace dart {
-class Random {
+class Random : public ValueObject {
public:
Random();
~Random();
@@ -22,6 +22,7 @@ class Random {
uint64_t _state;
+ DISALLOW_ALLOCATION();
DISALLOW_COPY_AND_ASSIGN(Random);
};
« no previous file with comments | « runtime/vm/port.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698