| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 if (from.isEmpty()) { | 83 if (from.isEmpty()) { |
| 84 from.append(zeroPixels); | 84 from.append(zeroPixels); |
| 85 from.append(zeroPixels); | 85 from.append(zeroPixels); |
| 86 } | 86 } |
| 87 if (to.isEmpty()) { | 87 if (to.isEmpty()) { |
| 88 to.append(zeroPixels); | 88 to.append(zeroPixels); |
| 89 to.append(zeroPixels); | 89 to.append(zeroPixels); |
| 90 } | 90 } |
| 91 } | 91 } |
| 92 | 92 |
| 93 WillBeHeapVector<RefPtrWillBeMember<AnimatableValue> > interpolatedValues; | 93 WillBeHeapVector<RefPtrWillBeMember<AnimatableValue>> interpolatedValues; |
| 94 bool success = interpolateLists(from, to, fraction, interpolatedValues); | 94 bool success = interpolateLists(from, to, fraction, interpolatedValues); |
| 95 ASSERT_UNUSED(success, success); | 95 ASSERT_UNUSED(success, success); |
| 96 return adoptRefWillBeNoop(new AnimatableStrokeDasharrayList(interpolatedValu
es)); | 96 return adoptRefWillBeNoop(new AnimatableStrokeDasharrayList(interpolatedValu
es)); |
| 97 } | 97 } |
| 98 | 98 |
| 99 DEFINE_TRACE(AnimatableStrokeDasharrayList) | 99 DEFINE_TRACE(AnimatableStrokeDasharrayList) |
| 100 { | 100 { |
| 101 AnimatableRepeatable::trace(visitor); | 101 AnimatableRepeatable::trace(visitor); |
| 102 } | 102 } |
| 103 | 103 |
| 104 } // namespace blink | 104 } // namespace blink |
| OLD | NEW |