| 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 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 resolveFirstInterval(); | 341 resolveFirstInterval(); |
| 342 | 342 |
| 343 if (m_timeContainer) | 343 if (m_timeContainer) |
| 344 m_timeContainer->notifyIntervalsChanged(); | 344 m_timeContainer->notifyIntervalsChanged(); |
| 345 | 345 |
| 346 buildPendingResource(); | 346 buildPendingResource(); |
| 347 | 347 |
| 348 return InsertionDone; | 348 return InsertionDone; |
| 349 } | 349 } |
| 350 | 350 |
| 351 void SVGSMILElement::removedFrom(ContainerNode* rootParent) | 351 void SVGSMILElement::removedFrom(ContainerNode* rootParent, Node* next) |
| 352 { | 352 { |
| 353 if (rootParent->inDocument()) { | 353 if (rootParent->inDocument()) { |
| 354 clearResourceAndEventBaseReferences(); | 354 clearResourceAndEventBaseReferences(); |
| 355 clearConditions(); | 355 clearConditions(); |
| 356 setTargetElement(nullptr); | 356 setTargetElement(nullptr); |
| 357 setAttributeName(anyQName()); | 357 setAttributeName(anyQName()); |
| 358 animationAttributeChanged(); | 358 animationAttributeChanged(); |
| 359 m_timeContainer = nullptr; | 359 m_timeContainer = nullptr; |
| 360 } | 360 } |
| 361 | 361 |
| 362 SVGElement::removedFrom(rootParent); | 362 SVGElement::removedFrom(rootParent, next); |
| 363 } | 363 } |
| 364 | 364 |
| 365 bool SVGSMILElement::hasValidAttributeName() | 365 bool SVGSMILElement::hasValidAttributeName() |
| 366 { | 366 { |
| 367 return attributeName() != anyQName(); | 367 return attributeName() != anyQName(); |
| 368 } | 368 } |
| 369 | 369 |
| 370 SMILTime SVGSMILElement::parseOffsetValue(const String& data) | 370 SMILTime SVGSMILElement::parseOffsetValue(const String& data) |
| 371 { | 371 { |
| 372 bool ok; | 372 bool ok; |
| (...skipping 990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1363 visitor->trace(m_targetElement); | 1363 visitor->trace(m_targetElement); |
| 1364 visitor->trace(m_timeContainer); | 1364 visitor->trace(m_timeContainer); |
| 1365 visitor->trace(m_conditions); | 1365 visitor->trace(m_conditions); |
| 1366 visitor->trace(m_syncBaseDependents); | 1366 visitor->trace(m_syncBaseDependents); |
| 1367 #endif | 1367 #endif |
| 1368 SVGElement::trace(visitor); | 1368 SVGElement::trace(visitor); |
| 1369 SVGTests::trace(visitor); | 1369 SVGTests::trace(visitor); |
| 1370 } | 1370 } |
| 1371 | 1371 |
| 1372 } // namespace blink | 1372 } // namespace blink |
| OLD | NEW |