| Index: test/cctest/test-heap-profiler.cc
|
| diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc
|
| index 1004104dd91ec974446ac5a4fe39c27798c6b306..1be64d91061ed427d6103f906494adf8c6483956 100644
|
| --- a/test/cctest/test-heap-profiler.cc
|
| +++ b/test/cctest/test-heap-profiler.cc
|
| @@ -1521,7 +1521,7 @@ TEST(WeakGlobalHandle) {
|
| }
|
|
|
|
|
| -TEST(WeakNativeContextRefs) {
|
| +TEST(WeakGlobalContextRefs) {
|
| v8::HandleScope scope;
|
| LocalContext env;
|
|
|
| @@ -1533,10 +1533,10 @@ TEST(WeakNativeContextRefs) {
|
| const v8::HeapGraphNode* global_handles = GetNode(
|
| gc_roots, v8::HeapGraphNode::kObject, "(Global handles)");
|
| CHECK_NE(NULL, global_handles);
|
| - const v8::HeapGraphNode* native_context = GetNode(
|
| - global_handles, v8::HeapGraphNode::kHidden, "system / NativeContext");
|
| - CHECK_NE(NULL, native_context);
|
| - CHECK(HasWeakEdge(native_context));
|
| + const v8::HeapGraphNode* global_context = GetNode(
|
| + global_handles, v8::HeapGraphNode::kHidden, "system / GlobalContext");
|
| + CHECK_NE(NULL, global_context);
|
| + CHECK(HasWeakEdge(global_context));
|
| }
|
|
|
|
|
|
|