| Index: src/heap-snapshot-generator.cc
|
| diff --git a/src/heap-snapshot-generator.cc b/src/heap-snapshot-generator.cc
|
| index 525396298e451329dd7f862e896873a1fbdf2321..08c0f4919ab862c09d53107573fde7cbfa41a9f5 100644
|
| --- a/src/heap-snapshot-generator.cc
|
| +++ b/src/heap-snapshot-generator.cc
|
| @@ -2151,9 +2151,7 @@ void V8HeapExplorer::SetGcSubrootReference(
|
| GlobalObject* global = context->global_object();
|
| if (global->IsJSGlobalObject()) {
|
| bool is_debug_object = false;
|
| -#ifdef ENABLE_DEBUGGER_SUPPORT
|
| is_debug_object = heap_->isolate()->debug()->IsDebugGlobal(global);
|
| -#endif
|
| if (!is_debug_object && !user_roots_.Contains(global)) {
|
| user_roots_.Insert(global);
|
| SetUserGlobalReference(global);
|
|
|