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

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

Issue 369033002: Oilpan: Build fix after r177440 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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/HTMLSourceElement.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/HTMLSourceElement.cpp
diff --git a/Source/core/html/HTMLSourceElement.cpp b/Source/core/html/HTMLSourceElement.cpp
index dfe72c6fd8c49340ecea278f341bc721de932129..1f86dfeb6fe80079fabcfbe40d64b597252b5424 100644
--- a/Source/core/html/HTMLSourceElement.cpp
+++ b/Source/core/html/HTMLSourceElement.cpp
@@ -59,8 +59,8 @@ public:
void clearElement() { m_element = nullptr; }
virtual void trace(Visitor* visitor) OVERRIDE
{
- MediaQueryListListener::trace(visitor);
visitor->trace(m_element);
+ MediaQueryListListener::trace(visitor);
}
private:
RawPtrWillBeMember<HTMLSourceElement> m_element;
@@ -79,7 +79,9 @@ DEFINE_NODE_FACTORY(HTMLSourceElement)
HTMLSourceElement::~HTMLSourceElement()
{
sourceErrorEventSender().cancelEvent(this);
+#if !ENABLE(OILPAN)
m_listener->clearElement();
+#endif
}
Node::InsertionNotificationRequest HTMLSourceElement::insertedInto(ContainerNode* insertionPoint)
@@ -178,9 +180,9 @@ void HTMLSourceElement::notifyMediaQueryChanged()
void HTMLSourceElement::trace(Visitor* visitor)
{
- HTMLElement::trace(visitor);
visitor->trace(m_mediaQueryList);
visitor->trace(m_listener);
+ HTMLElement::trace(visitor);
}
}
« no previous file with comments | « Source/core/html/HTMLSourceElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698