Index: third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp |
index 83eaff908273c2b21d79a2bde39995a859a1043f..80d5eb2e04cf31da638501873dba58023a5242b5 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.cpp |
@@ -80,6 +80,7 @@ void ScriptWrappableVisitor::performCleanup() { |
if (!m_shouldCleanup) |
return; |
+ CHECK(!m_tracingInProgress); |
for (auto header : m_headersToUnmark) { |
// Dead objects residing in the marking deque may become invalid due to |
// minor garbage collections and are therefore set to nullptr. We have |