Index: src/bootstrapper.cc |
diff --git a/src/bootstrapper.cc b/src/bootstrapper.cc |
index 0d1c070e47e36418ee566dd637d97f72a2fcd8ec..1e651abba0984a37393e9d8b90446ebedec48e66 100644 |
--- a/src/bootstrapper.cc |
+++ b/src/bootstrapper.cc |
@@ -853,11 +853,11 @@ static void AddToWeakNativeContextList(Context* context) { |
Heap* heap = context->GetIsolate()->heap(); |
#ifdef DEBUG |
{ // NOLINT |
- DCHECK(context->get(Context::NEXT_CONTEXT_LINK)->IsUndefined()); |
+ DCHECK(context->next_context_link()->IsUndefined()); |
// Check that context is not in the list yet. |
for (Object* current = heap->native_contexts_list(); |
!current->IsUndefined(); |
- current = Context::cast(current)->get(Context::NEXT_CONTEXT_LINK)) { |
+ current = Context::cast(current)->next_context_link()) { |
DCHECK(current != context); |
} |
} |