Index: test/cctest/test-object-observe.cc |
diff --git a/test/cctest/test-object-observe.cc b/test/cctest/test-object-observe.cc |
index 2bbcaadf06853c88fab1284d8aa265d87f2b1ea9..44ddb6fa2061a482dacdf1c639080c922a0cd47a 100644 |
--- a/test/cctest/test-object-observe.cc |
+++ b/test/cctest/test-object-observe.cc |
@@ -429,20 +429,20 @@ TEST(ObservationWeakMap) { |
"obj = null;"); |
i::Handle<i::JSObject> observation_state = |
i::Isolate::Current()->factory()->observation_state(); |
- i::Handle<i::JSWeakMap> observerInfoMap = |
+ i::Handle<i::JSWeakMap> callbackInfoMap = |
i::Handle<i::JSWeakMap>::cast( |
- i::GetProperty(observation_state, "observerInfoMap")); |
+ i::GetProperty(observation_state, "callbackInfoMap")); |
i::Handle<i::JSWeakMap> objectInfoMap = |
i::Handle<i::JSWeakMap>::cast( |
i::GetProperty(observation_state, "objectInfoMap")); |
i::Handle<i::JSWeakMap> notifierTargetMap = |
i::Handle<i::JSWeakMap>::cast( |
i::GetProperty(observation_state, "notifierTargetMap")); |
- CHECK_EQ(1, NumberOfElements(observerInfoMap)); |
+ CHECK_EQ(1, NumberOfElements(callbackInfoMap)); |
CHECK_EQ(1, NumberOfElements(objectInfoMap)); |
CHECK_EQ(1, NumberOfElements(notifierTargetMap)); |
HEAP->CollectAllGarbage(i::Heap::kAbortIncrementalMarkingMask); |
- CHECK_EQ(0, NumberOfElements(observerInfoMap)); |
+ CHECK_EQ(0, NumberOfElements(callbackInfoMap)); |
CHECK_EQ(0, NumberOfElements(objectInfoMap)); |
CHECK_EQ(0, NumberOfElements(notifierTargetMap)); |
} |