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

Side by Side Diff: Source/core/xml/XMLHttpRequestProgressEventThrottle.cpp

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 unified diff | Download patch
« no previous file with comments | « Source/core/xml/XMLHttpRequestProgressEventThrottle.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Julien Chaffraix <jchaffraix@webkit.org> All right reserv ed. 2 * Copyright (C) 2010 Julien Chaffraix <jchaffraix@webkit.org> All right reserv ed.
3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) 3 * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 210
211 // Do not dispatch events inline here, since ExecutionContext is iterating o ver 211 // Do not dispatch events inline here, since ExecutionContext is iterating o ver
212 // the list of active DOM objects to resume them, and any activated JS event -handler 212 // the list of active DOM objects to resume them, and any activated JS event -handler
213 // could insert new active DOM objects to the list. 213 // could insert new active DOM objects to the list.
214 // m_deferEvents is kept true until all deferred events have been dispatched . 214 // m_deferEvents is kept true until all deferred events have been dispatched .
215 m_dispatchDeferredEventsTimer.startOneShot(0, FROM_HERE); 215 m_dispatchDeferredEventsTimer.startOneShot(0, FROM_HERE);
216 } 216 }
217 217
218 void XMLHttpRequestProgressEventThrottle::trace(Visitor* visitor) 218 void XMLHttpRequestProgressEventThrottle::trace(Visitor* visitor)
219 { 219 {
220 visitor->trace(m_target);
220 visitor->trace(m_deferredProgressEvent); 221 visitor->trace(m_deferredProgressEvent);
221 visitor->trace(m_deferredEvents); 222 visitor->trace(m_deferredEvents);
222 } 223 }
223 224
224 } // namespace WebCore 225 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/xml/XMLHttpRequestProgressEventThrottle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698