Index: src/heap/objects-visiting.cc |
diff --git a/src/heap/objects-visiting.cc b/src/heap/objects-visiting.cc |
index 02da1721b59b36386c8def114df0a9cecfa39807..dfde5745ea00d58d902a4a6ecd17e3888da9a63f 100644 |
--- a/src/heap/objects-visiting.cc |
+++ b/src/heap/objects-visiting.cc |
@@ -285,7 +285,7 @@ struct WeakListVisitor<Context> { |
} |
static Object* WeakNext(Context* context) { |
- return context->get(Context::NEXT_CONTEXT_LINK); |
+ return context->next_context_link(); |
} |
static int WeakNextOffset() { |