OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
5 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 5 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 attribute_type_ = kAttributeTypeCSS; | 574 attribute_type_ = kAttributeTypeCSS; |
575 else if (attribute_type == "XML") | 575 else if (attribute_type == "XML") |
576 attribute_type_ = kAttributeTypeXML; | 576 attribute_type_ = kAttributeTypeXML; |
577 else | 577 else |
578 attribute_type_ = kAttributeTypeAuto; | 578 attribute_type_ = kAttributeTypeAuto; |
579 DidChangeAnimationTarget(); | 579 DidChangeAnimationTarget(); |
580 } | 580 } |
581 | 581 |
582 void SVGAnimateElement::ResetAnimatedPropertyType() { | 582 void SVGAnimateElement::ResetAnimatedPropertyType() { |
583 DCHECK(!animated_value_); | 583 DCHECK(!animated_value_); |
| 584 InvalidatedValuesCache(); |
584 from_property_.Clear(); | 585 from_property_.Clear(); |
585 to_property_.Clear(); | 586 to_property_.Clear(); |
586 to_at_end_of_duration_property_.Clear(); | 587 to_at_end_of_duration_property_.Clear(); |
587 ClearTargetProperty(); | 588 ClearTargetProperty(); |
588 } | 589 } |
589 | 590 |
590 DEFINE_TRACE(SVGAnimateElement) { | 591 DEFINE_TRACE(SVGAnimateElement) { |
591 visitor->Trace(from_property_); | 592 visitor->Trace(from_property_); |
592 visitor->Trace(to_property_); | 593 visitor->Trace(to_property_); |
593 visitor->Trace(to_at_end_of_duration_property_); | 594 visitor->Trace(to_at_end_of_duration_property_); |
594 visitor->Trace(animated_value_); | 595 visitor->Trace(animated_value_); |
595 visitor->Trace(target_property_); | 596 visitor->Trace(target_property_); |
596 SVGAnimationElement::Trace(visitor); | 597 SVGAnimationElement::Trace(visitor); |
597 } | 598 } |
598 | 599 |
599 } // namespace blink | 600 } // namespace blink |
OLD | NEW |