Index: Source/core/xml/XMLHttpRequestProgressEventThrottle.h |
diff --git a/Source/core/xml/XMLHttpRequestProgressEventThrottle.h b/Source/core/xml/XMLHttpRequestProgressEventThrottle.h |
index a4c5833656af756814a9a0f779a6b72e5aed4b8b..06769fbb8f49ceb5470b2379126a6036f3e25994 100644 |
--- a/Source/core/xml/XMLHttpRequestProgressEventThrottle.h |
+++ b/Source/core/xml/XMLHttpRequestProgressEventThrottle.h |
@@ -81,8 +81,11 @@ private: |
bool hasEventToDispatch() const; |
- // Weak pointer to our XMLHttpRequest object as it is the one holding us. |
- EventTarget* m_target; |
+ // Non-Oilpan, keep a weak pointer to our XMLHttpRequest object as it is |
+ // the one holding us. With Oilpan, a simple strong Member can be used - |
+ // this XMLHttpRequestProgressEventThrottle (part) object dies together |
+ // with the XMLHttpRequest object. |
+ RawPtrWillBeMember<EventTarget> m_target; |
bool m_lengthComputable; |
unsigned long long m_loaded; |