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

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

Issue 223163004: Oilpan: Fix tracing of events through XMLHttpRequestProgressEventThrottle. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add init for RawPtr in HTMLFormElement. Created 6 years, 9 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/xml/XMLHttpRequest.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 afc55b463141b3b2c95400ff4426433b65bbad37..1ba3db4317a44ff984a0de5d93cb1d36d3b10b22 100644
--- a/Source/core/xml/XMLHttpRequestProgressEventThrottle.h
+++ b/Source/core/xml/XMLHttpRequestProgressEventThrottle.h
@@ -47,6 +47,7 @@ enum ProgressEventAction {
// This implements the XHR2 progress event dispatching: "dispatch a progress event called progress
// about every 50ms or for every byte received, whichever is least frequent".
class XMLHttpRequestProgressEventThrottle FINAL : public TimerBase {
+ DISALLOW_ALLOCATION();
public:
explicit XMLHttpRequestProgressEventThrottle(EventTarget*);
virtual ~XMLHttpRequestProgressEventThrottle();
@@ -59,6 +60,8 @@ public:
void suspend();
void resume();
+ void trace(Visitor*);
+
private:
static const double minimumProgressEventDispatchingIntervalInSeconds;
@@ -77,8 +80,8 @@ private:
unsigned long long m_total;
bool m_deferEvents;
- RefPtrWillBePersistent<Event> m_deferredProgressEvent;
- WillBePersistentHeapVector<RefPtrWillBeMember<Event> > m_deferredEvents;
+ RefPtrWillBeMember<Event> m_deferredProgressEvent;
+ WillBeHeapVector<RefPtrWillBeMember<Event> > m_deferredEvents;
Timer<XMLHttpRequestProgressEventThrottle> m_dispatchDeferredEventsTimer;
};
« no previous file with comments | « Source/core/xml/XMLHttpRequest.cpp ('k') | Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698