| 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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 ASSERT(!fromListSize || fromListSize == toListSize); | 362 ASSERT(!fromListSize || fromListSize == toListSize); |
| 363 if (length() < toListSize) { | 363 if (length() < toListSize) { |
| 364 size_t paddingCount = toListSize - length(); | 364 size_t paddingCount = toListSize - length(); |
| 365 for (size_t i = 0; i < paddingCount; ++i) | 365 for (size_t i = 0; i < paddingCount; ++i) |
| 366 append(createPaddingItem()); | 366 append(createPaddingItem()); |
| 367 } | 367 } |
| 368 | 368 |
| 369 return true; | 369 return true; |
| 370 } | 370 } |
| 371 | 371 |
| 372 } | 372 } // namespace blink |
| 373 | 373 |
| 374 #endif // SVGListPropertyHelper_h | 374 #endif // SVGListPropertyHelper_h |
| OLD | NEW |