Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index 2b68a15190b629fb3d470bd803e6f41a0d2308ba..243583da5f29a76eb1d8ff57294685846680601f 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -1321,6 +1321,7 @@ private: |
RenderView* m_renderView; |
+ // FIXME: Oilpan: We should use a real weak pointer here. |
WeakPtrFactory<Document> m_weakFactory; |
WeakPtr<Document> m_contextDocument; |
@@ -1373,7 +1374,10 @@ private: |
CompositorPendingAnimations m_compositorPendingAnimations; |
RefPtrWillBeMember<Document> m_templateDocument; |
- RawPtrWillBeMember<Document> m_templateDocumentHost; // Manually managed weakref (backpointer from m_templateDocument). |
+ // With Oilpan the templateDocument and the templateDocumentHost |
+ // live and die together. Without Oilpan, the templateDocumentHost |
+ // is a manually managed backpointer from m_templateDocument. |
+ RawPtrWillBeMember<Document> m_templateDocumentHost; |
Timer<Document> m_didAssociateFormControlsTimer; |
WillBeHeapHashSet<RefPtrWillBeMember<Element> > m_associatedFormControls; |