Chromium Code Reviews| Index: src/heap.cc |
| diff --git a/src/heap.cc b/src/heap.cc |
| index dcab156377005c3918c7875d2c6e76a01286e4a8..b5fe18454e31005d64bb7e611a25dd60449eea67 100644 |
| --- a/src/heap.cc |
| +++ b/src/heap.cc |
| @@ -1765,9 +1765,7 @@ struct WeakListVisitor<Context> { |
| } |
| } |
| - static void VisitPhantomObject(Heap*, Context* context) { |
| - // A bit of a hack, see the comment at the end of Genesis::Genesis(). |
| - delete[] reinterpret_cast<uint32_t*>(context->random_state()); |
| + static void VisitPhantomObject(Heap*, Context*) { |
| } |
| static int WeakNextOffset() { |