Index: Source/core/dom/MutationObserverRegistration.h |
diff --git a/Source/core/dom/MutationObserverRegistration.h b/Source/core/dom/MutationObserverRegistration.h |
index 7668c09b115c78a31a385dd3a26cf3a0bc468d6c..42d3d15004d4052a1f3febfbdd6912e34501da31 100644 |
--- a/Source/core/dom/MutationObserverRegistration.h |
+++ b/Source/core/dom/MutationObserverRegistration.h |
@@ -69,7 +69,10 @@ private: |
MutationObserverRegistration(MutationObserver&, Node&, MutationObserverOptions, const HashSet<AtomicString>& attributeFilter); |
RefPtrWillBeMember<MutationObserver> m_observer; |
- Node& m_registrationNode; |
+ RawPtrWillBeMember<Node> m_registrationNode; |
+ // FIXME: Oilpan: once a Member reference will keep a Node |
+ // and its tree alive, this keep-alive RefPtr can be |
+ // removed for Oilpan builds. |
RefPtr<Node> m_registrationNodeKeepAlive; |
typedef HashSet<RefPtr<Node> > NodeHashSet; |
OwnPtr<NodeHashSet> m_transientRegistrationNodes; |