| 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 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 #include "core/svg/animation/SVGSMILElement.h" | 26 #include "core/svg/animation/SVGSMILElement.h" |
| 27 | 27 |
| 28 #include "bindings/core/v8/ExceptionStatePlaceholder.h" | 28 #include "bindings/core/v8/ExceptionStatePlaceholder.h" |
| 29 #include "bindings/core/v8/ScriptEventListener.h" | 29 #include "bindings/core/v8/ScriptEventListener.h" |
| 30 #include "core/XLinkNames.h" | 30 #include "core/XLinkNames.h" |
| 31 #include "core/dom/Document.h" | 31 #include "core/dom/Document.h" |
| 32 #include "core/events/Event.h" | 32 #include "core/events/Event.h" |
| 33 #include "core/events/EventListener.h" | 33 #include "core/events/EventListener.h" |
| 34 #include "core/events/EventSender.h" | 34 #include "core/events/EventSender.h" |
| 35 #include "core/frame/Deprecation.h" | |
| 36 #include "core/svg/SVGDocumentExtensions.h" | 35 #include "core/svg/SVGDocumentExtensions.h" |
| 37 #include "core/svg/SVGSVGElement.h" | 36 #include "core/svg/SVGSVGElement.h" |
| 38 #include "core/svg/SVGURIReference.h" | 37 #include "core/svg/SVGURIReference.h" |
| 39 #include "core/svg/animation/SMILTimeContainer.h" | 38 #include "core/svg/animation/SMILTimeContainer.h" |
| 40 #include "platform/FloatConversion.h" | 39 #include "platform/FloatConversion.h" |
| 41 #include "platform/heap/Handle.h" | 40 #include "platform/heap/Handle.h" |
| 42 #include "wtf/MathExtras.h" | 41 #include "wtf/MathExtras.h" |
| 43 #include "wtf/StdLibExtras.h" | 42 #include "wtf/StdLibExtras.h" |
| 44 #include "wtf/Vector.h" | 43 #include "wtf/Vector.h" |
| 45 #include <algorithm> | 44 #include <algorithm> |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 resolveFirstInterval(); | 308 resolveFirstInterval(); |
| 310 } | 309 } |
| 311 | 310 |
| 312 Node::InsertionNotificationRequest SVGSMILElement::insertedInto(ContainerNode* r
ootParent) | 311 Node::InsertionNotificationRequest SVGSMILElement::insertedInto(ContainerNode* r
ootParent) |
| 313 { | 312 { |
| 314 SVGElement::insertedInto(rootParent); | 313 SVGElement::insertedInto(rootParent); |
| 315 | 314 |
| 316 if (!rootParent->isConnected()) | 315 if (!rootParent->isConnected()) |
| 317 return InsertionDone; | 316 return InsertionDone; |
| 318 | 317 |
| 319 Deprecation::countDeprecation(document(), UseCounter::SVGSMILElementInDocume
nt); | 318 UseCounter::count(document(), UseCounter::SVGSMILElementInDocument); |
| 320 if (document().isLoadCompleted()) | 319 if (document().isLoadCompleted()) |
| 321 UseCounter::count(&document(), UseCounter::SVGSMILElementInsertedAfterLo
ad); | 320 UseCounter::count(&document(), UseCounter::SVGSMILElementInsertedAfterLo
ad); |
| 322 | 321 |
| 323 setAttributeName(constructQualifiedName(this, fastGetAttribute(SVGNames::att
ributeNameAttr))); | 322 setAttributeName(constructQualifiedName(this, fastGetAttribute(SVGNames::att
ributeNameAttr))); |
| 324 SVGSVGElement* owner = ownerSVGElement(); | 323 SVGSVGElement* owner = ownerSVGElement(); |
| 325 if (!owner) | 324 if (!owner) |
| 326 return InsertionDone; | 325 return InsertionDone; |
| 327 | 326 |
| 328 m_timeContainer = owner->timeContainer(); | 327 m_timeContainer = owner->timeContainer(); |
| 329 ASSERT(m_timeContainer); | 328 ASSERT(m_timeContainer); |
| (...skipping 1032 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1362 { | 1361 { |
| 1363 visitor->trace(m_targetElement); | 1362 visitor->trace(m_targetElement); |
| 1364 visitor->trace(m_timeContainer); | 1363 visitor->trace(m_timeContainer); |
| 1365 visitor->trace(m_conditions); | 1364 visitor->trace(m_conditions); |
| 1366 visitor->trace(m_syncBaseDependents); | 1365 visitor->trace(m_syncBaseDependents); |
| 1367 SVGElement::trace(visitor); | 1366 SVGElement::trace(visitor); |
| 1368 SVGTests::trace(visitor); | 1367 SVGTests::trace(visitor); |
| 1369 } | 1368 } |
| 1370 | 1369 |
| 1371 } // namespace blink | 1370 } // namespace blink |
| OLD | NEW |