OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
185 , m_cachedRepeatDur(invalidCachedTime) | 185 , m_cachedRepeatDur(invalidCachedTime) |
186 , m_cachedRepeatCount(invalidCachedTime) | 186 , m_cachedRepeatCount(invalidCachedTime) |
187 , m_cachedMin(invalidCachedTime) | 187 , m_cachedMin(invalidCachedTime) |
188 , m_cachedMax(invalidCachedTime) | 188 , m_cachedMax(invalidCachedTime) |
189 { | 189 { |
190 resolveFirstInterval(); | 190 resolveFirstInterval(); |
191 } | 191 } |
192 | 192 |
193 SVGSMILElement::~SVGSMILElement() | 193 SVGSMILElement::~SVGSMILElement() |
194 { | 194 { |
195 #if !ENABLE(OILPAN) | |
195 clearResourceAndEventBaseReferences(); | 196 clearResourceAndEventBaseReferences(); |
haraken
2014/04/25 05:21:42
Ditto.
Mads Ager (chromium)
2014/04/25 10:58:25
Ditto.
| |
197 #endif | |
196 smilEndEventSender().cancelEvent(this); | 198 smilEndEventSender().cancelEvent(this); |
197 smilBeginEventSender().cancelEvent(this); | 199 smilBeginEventSender().cancelEvent(this); |
198 smilRepeatEventSender().cancelEvent(this); | 200 smilRepeatEventSender().cancelEvent(this); |
199 smilRepeatNEventSender().cancelEvent(this); | 201 smilRepeatNEventSender().cancelEvent(this); |
200 clearConditions(); | 202 clearConditions(); |
201 if (m_timeContainer && m_targetElement && hasValidAttributeName()) | 203 if (m_timeContainer && m_targetElement && hasValidAttributeName()) |
202 m_timeContainer->unschedule(this, m_targetElement, m_attributeName); | 204 m_timeContainer->unschedule(this, m_targetElement, m_attributeName); |
203 } | 205 } |
204 | 206 |
205 void SVGSMILElement::clearResourceAndEventBaseReferences() | 207 void SVGSMILElement::clearResourceAndEventBaseReferences() |
(...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1322 if (eventType == "repeatn") { | 1324 if (eventType == "repeatn") { |
1323 unsigned repeatEventCount = m_repeatEventCountList.first(); | 1325 unsigned repeatEventCount = m_repeatEventCountList.first(); |
1324 m_repeatEventCountList.remove(0); | 1326 m_repeatEventCountList.remove(0); |
1325 dispatchEvent(RepeatEvent::create(eventType, repeatEventCount)); | 1327 dispatchEvent(RepeatEvent::create(eventType, repeatEventCount)); |
1326 } else { | 1328 } else { |
1327 dispatchEvent(Event::create(eventType)); | 1329 dispatchEvent(Event::create(eventType)); |
1328 } | 1330 } |
1329 } | 1331 } |
1330 | 1332 |
1331 } | 1333 } |
OLD | NEW |