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

Unified Diff: Source/core/xml/XMLHttpRequestProgressEventThrottle.h

Issue 330273002: Oilpan: trace Event.currentTarget. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update XMLHttpRequestProgressEventThrottle comment 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/events/Event.cpp ('k') | Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/events/Event.cpp ('k') | Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698