| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 SVGEnumeration<Enum>* currentValue() | 56 SVGEnumeration<Enum>* currentValue() |
| 57 { | 57 { |
| 58 return static_cast<SVGEnumeration<Enum>*>(SVGAnimatedEnumerationBase::cu
rrentValue()); | 58 return static_cast<SVGEnumeration<Enum>*>(SVGAnimatedEnumerationBase::cu
rrentValue()); |
| 59 } | 59 } |
| 60 | 60 |
| 61 const SVGEnumeration<Enum>* currentValue() const | 61 const SVGEnumeration<Enum>* currentValue() const |
| 62 { | 62 { |
| 63 return static_cast<const SVGEnumeration<Enum>*>(SVGAnimatedEnumerationBa
se::currentValue()); | 63 return static_cast<const SVGEnumeration<Enum>*>(SVGAnimatedEnumerationBa
se::currentValue()); |
| 64 } | 64 } |
| 65 | 65 |
| 66 DEFINE_INLINE_VIRTUAL_TRACE_WRAPPERS() |
| 67 { |
| 68 visitor->traceWrappers(contextElement()); |
| 69 } |
| 70 |
| 66 protected: | 71 protected: |
| 67 SVGAnimatedEnumeration(SVGElement* contextElement, const QualifiedName& attr
ibuteName, SVGEnumeration<Enum>* initialValue) | 72 SVGAnimatedEnumeration(SVGElement* contextElement, const QualifiedName& attr
ibuteName, SVGEnumeration<Enum>* initialValue) |
| 68 : SVGAnimatedEnumerationBase(contextElement, attributeName, initialValue
) | 73 : SVGAnimatedEnumerationBase(contextElement, attributeName, initialValue
) |
| 69 { | 74 { |
| 70 } | 75 } |
| 71 }; | 76 }; |
| 72 | 77 |
| 73 } // namespace blink | 78 } // namespace blink |
| 74 | 79 |
| 75 #endif // SVGAnimatedEnumeration_h | 80 #endif // SVGAnimatedEnumeration_h |
| OLD | NEW |