| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 String SVGPoint::valueAsString() const { | 88 String SVGPoint::valueAsString() const { |
| 89 StringBuilder builder; | 89 StringBuilder builder; |
| 90 builder.appendNumber(x()); | 90 builder.appendNumber(x()); |
| 91 builder.append(' '); | 91 builder.append(' '); |
| 92 builder.appendNumber(y()); | 92 builder.appendNumber(y()); |
| 93 return builder.toString(); | 93 return builder.toString(); |
| 94 } | 94 } |
| 95 | 95 |
| 96 void SVGPoint::add(SVGPropertyBase* other, SVGElement*) { | 96 void SVGPoint::add(SVGPropertyBase* other, SVGElement*) { |
| 97 // SVGPoint is not animated by itself | 97 // SVGPoint is not animated by itself |
| 98 ASSERT_NOT_REACHED(); | 98 NOTREACHED(); |
| 99 } | 99 } |
| 100 | 100 |
| 101 void SVGPoint::calculateAnimatedValue(SVGAnimationElement* animationElement, | 101 void SVGPoint::calculateAnimatedValue(SVGAnimationElement* animationElement, |
| 102 float percentage, | 102 float percentage, |
| 103 unsigned repeatCount, | 103 unsigned repeatCount, |
| 104 SVGPropertyBase* fromValue, | 104 SVGPropertyBase* fromValue, |
| 105 SVGPropertyBase* toValue, | 105 SVGPropertyBase* toValue, |
| 106 SVGPropertyBase* toAtEndOfDurationValue, | 106 SVGPropertyBase* toAtEndOfDurationValue, |
| 107 SVGElement*) { | 107 SVGElement*) { |
| 108 // SVGPoint is not animated by itself | 108 // SVGPoint is not animated by itself |
| 109 ASSERT_NOT_REACHED(); | 109 NOTREACHED(); |
| 110 } | 110 } |
| 111 | 111 |
| 112 float SVGPoint::calculateDistance(SVGPropertyBase* to, | 112 float SVGPoint::calculateDistance(SVGPropertyBase* to, |
| 113 SVGElement* contextElement) { | 113 SVGElement* contextElement) { |
| 114 // SVGPoint is not animated by itself | 114 // SVGPoint is not animated by itself |
| 115 ASSERT_NOT_REACHED(); | 115 NOTREACHED(); |
| 116 return 0.0f; | 116 return 0.0f; |
| 117 } | 117 } |
| 118 | 118 |
| 119 } // namespace blink | 119 } // namespace blink |
| OLD | NEW |