| 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 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "SVGNames.h" | 30 #include "SVGNames.h" |
| 31 #include "XLinkNames.h" | 31 #include "XLinkNames.h" |
| 32 #include "core/dom/Document.h" | 32 #include "core/dom/Document.h" |
| 33 #include "core/dom/EventListener.h" | 33 #include "core/dom/EventListener.h" |
| 34 #include "core/platform/FloatConversion.h" | 34 #include "core/platform/FloatConversion.h" |
| 35 #include "core/svg/SVGDocumentExtensions.h" | 35 #include "core/svg/SVGDocumentExtensions.h" |
| 36 #include "core/svg/SVGSVGElement.h" | 36 #include "core/svg/SVGSVGElement.h" |
| 37 #include "core/svg/SVGURIReference.h" | 37 #include "core/svg/SVGURIReference.h" |
| 38 #include "core/svg/animation/SMILTimeContainer.h" | 38 #include "core/svg/animation/SMILTimeContainer.h" |
| 39 #include <wtf/MathExtras.h> | 39 #include "wtf/MathExtras.h" |
| 40 #include <wtf/StdLibExtras.h> | 40 #include "wtf/StdLibExtras.h" |
| 41 #include <wtf/Vector.h> | 41 #include "wtf/Vector.h" |
| 42 | 42 |
| 43 using namespace std; | 43 using namespace std; |
| 44 | 44 |
| 45 namespace WebCore { | 45 namespace WebCore { |
| 46 | 46 |
| 47 // This is used for duration type time values that can't be negative. | 47 // This is used for duration type time values that can't be negative. |
| 48 static const double invalidCachedTime = -1.; | 48 static const double invalidCachedTime = -1.; |
| 49 | 49 |
| 50 class ConditionEventListener : public EventListener { | 50 class ConditionEventListener : public EventListener { |
| 51 public: | 51 public: |
| (...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1185 addBeginTime(elapsed, elapsed); | 1185 addBeginTime(elapsed, elapsed); |
| 1186 } | 1186 } |
| 1187 | 1187 |
| 1188 void SVGSMILElement::endedActiveInterval() | 1188 void SVGSMILElement::endedActiveInterval() |
| 1189 { | 1189 { |
| 1190 clearTimesWithDynamicOrigins(m_beginTimes); | 1190 clearTimesWithDynamicOrigins(m_beginTimes); |
| 1191 clearTimesWithDynamicOrigins(m_endTimes); | 1191 clearTimesWithDynamicOrigins(m_endTimes); |
| 1192 } | 1192 } |
| 1193 | 1193 |
| 1194 } | 1194 } |
| OLD | NEW |