| 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 4f04eb71dabdfa9b7ba3fd19a7f162bb88e87fbb..87339b16c6187500d31d81360b12e033ac38b8f7 100644
|
| --- a/third_party/WebKit/Source/platform/heap/ThreadState.h
|
| +++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
|
| @@ -292,6 +292,7 @@ class PLATFORM_EXPORT ThreadState {
|
| }
|
| void enterNoAllocationScope() { m_noAllocationCount++; }
|
| void leaveNoAllocationScope() { m_noAllocationCount--; }
|
| + bool isWrapperTracingForbidden() { return isMixinInConstruction(); }
|
| bool isGCForbidden() const {
|
| return m_gcForbiddenCount || isMixinInConstruction();
|
| }
|
|
|