Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(654)

Unified Diff: Source/core/html/HTMLIFrameElement.cpp

Issue 1035533003: Oilpan: fix build++ after r192490. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: provide null trace() for non-oilpan Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLIFrameElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/html/HTMLIFrameElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698