Index: src/context-measure.cc |
diff --git a/src/context-measure.cc b/src/context-measure.cc |
index 342362983dba0c3f17a894733e927bfff199497b..07075840fd8e04c749836d44962d93bb689ab71c 100644 |
--- a/src/context-measure.cc |
+++ b/src/context-measure.cc |
@@ -18,7 +18,7 @@ ContextMeasure::ContextMeasure(Context* context) |
count_(0), |
size_(0) { |
DCHECK(context_->IsNativeContext()); |
- Object* next_link = context_->get(Context::NEXT_CONTEXT_LINK); |
+ Object* next_link = context_->next_context_link(); |
MeasureObject(context_); |
MeasureDeferredObjects(); |
context_->set(Context::NEXT_CONTEXT_LINK, next_link); |