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); |
}; |