| Index: third_party/WebKit/Source/platform/heap/ThreadState.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.h b/third_party/WebKit/Source/platform/heap/ThreadState.h
|
| index 8fc7b9c2998ce55787745b6e55e1dd91967d1625..33373847ff8186854e0b0112bf8c6564d38a715b 100644
|
| --- a/third_party/WebKit/Source/platform/heap/ThreadState.h
|
| +++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
|
| @@ -432,6 +432,11 @@ public:
|
| m_isolate = isolate;
|
| m_traceDOMWrappers = traceDOMWrappers;
|
| }
|
| + void unregisterTraceDOMWrappers()
|
| + {
|
| + m_isolate = nullptr;
|
| + m_traceDOMWrappers = nullptr;
|
| + }
|
|
|
| // By entering a gc-forbidden scope, conservative GCs will not
|
| // be allowed while handling an out-of-line allocation request.
|
|
|