| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |