| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 SVGAnimatedAngle::~SVGAnimatedAngle() | 43 SVGAnimatedAngle::~SVGAnimatedAngle() |
| 44 { | 44 { |
| 45 } | 45 } |
| 46 | 46 |
| 47 DEFINE_TRACE(SVGAnimatedAngle) | 47 DEFINE_TRACE(SVGAnimatedAngle) |
| 48 { | 48 { |
| 49 visitor->trace(m_orientType); | 49 visitor->trace(m_orientType); |
| 50 SVGAnimatedProperty<SVGAngle>::trace(visitor); | 50 SVGAnimatedProperty<SVGAngle>::trace(visitor); |
| 51 } | 51 } |
| 52 | 52 |
| 53 DEFINE_TRACE_WRAPPERS(SVGAnimatedAngle) |
| 54 { |
| 55 visitor->traceWrappers(contextElement()); |
| 56 } |
| 57 |
| 53 bool SVGAnimatedAngle::needsSynchronizeAttribute() | 58 bool SVGAnimatedAngle::needsSynchronizeAttribute() |
| 54 { | 59 { |
| 55 return m_orientType->needsSynchronizeAttribute() | 60 return m_orientType->needsSynchronizeAttribute() |
| 56 || SVGAnimatedProperty<SVGAngle>::needsSynchronizeAttribute(); | 61 || SVGAnimatedProperty<SVGAngle>::needsSynchronizeAttribute(); |
| 57 } | 62 } |
| 58 | 63 |
| 59 void SVGAnimatedAngle::synchronizeAttribute() | 64 void SVGAnimatedAngle::synchronizeAttribute() |
| 60 { | 65 { |
| 61 // If the current value is not an <angle> we synchronize the value of the | 66 // If the current value is not an <angle> we synchronize the value of the |
| 62 // wrapped enumeration. | 67 // wrapped enumeration. |
| (...skipping 10 matching lines...) Expand all Loading... |
| 73 m_orientType->setAnimatedValue(currentValue()->orientType()); | 78 m_orientType->setAnimatedValue(currentValue()->orientType()); |
| 74 } | 79 } |
| 75 | 80 |
| 76 void SVGAnimatedAngle::animationEnded() | 81 void SVGAnimatedAngle::animationEnded() |
| 77 { | 82 { |
| 78 SVGAnimatedProperty<SVGAngle>::animationEnded(); | 83 SVGAnimatedProperty<SVGAngle>::animationEnded(); |
| 79 m_orientType->animationEnded(); | 84 m_orientType->animationEnded(); |
| 80 } | 85 } |
| 81 | 86 |
| 82 } // namespace blink | 87 } // namespace blink |
| OLD | NEW |