Index: Source/core/html/HTMLIFrameElement.cpp |
diff --git a/Source/core/html/HTMLIFrameElement.cpp b/Source/core/html/HTMLIFrameElement.cpp |
index 69d545626c5b97363a000ef4441f5887d35bbd6e..2e752d7493cae9b854a1a7336ba2af78f053797e 100644 |
--- a/Source/core/html/HTMLIFrameElement.cpp |
+++ b/Source/core/html/HTMLIFrameElement.cpp |
@@ -50,11 +50,14 @@ DEFINE_TRACE(HTMLIFrameElement) |
{ |
visitor->trace(m_sandbox); |
HTMLFrameElementBase::trace(visitor); |
+ DOMSettableTokenListObserver::trace(visitor); |
} |
HTMLIFrameElement::~HTMLIFrameElement() |
{ |
+#if !ENABLE(OILPAN) |
m_sandbox->setObserver(nullptr); |
+#endif |
} |
DOMSettableTokenList* HTMLIFrameElement::sandbox() const |