| Index: third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp b/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
|
| index b49db8f4544d9fcc501eebe93b9c73c89e957656..5608ebd9190e031836b6ceb40dcc22e5c968c4cf 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp
|
| @@ -417,9 +417,11 @@ void V8Initializer::initializeMainThread() {
|
|
|
| isolate->SetPromiseRejectCallback(promiseRejectHandlerInMainThread);
|
|
|
| - if (v8::HeapProfiler* profiler = isolate->GetHeapProfiler())
|
| + if (v8::HeapProfiler* profiler = isolate->GetHeapProfiler()) {
|
| profiler->SetWrapperClassInfoProvider(
|
| WrapperTypeInfo::NodeClassId, &RetainedDOMInfo::createRetainedDOMInfo);
|
| + profiler->SetGetRetainerInfosCallback(&V8GCController::getRetainerInfos);
|
| + }
|
|
|
| ASSERT(ThreadState::mainThreadState());
|
| ThreadState::mainThreadState()->addInterruptor(
|
|
|