| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #ifndef SkSVGAttribute_DEFINED | 10 #ifndef SkSVGAttribute_DEFINED |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 #define SVG_ADD_ATTRIBUTE(attr) \ | 34 #define SVG_ADD_ATTRIBUTE(attr) \ |
| 35 if (f_##attr.size() > 0) \ | 35 if (f_##attr.size() > 0) \ |
| 36 parser._addAttributeLen(#attr, f_##attr.c_str(), f_##attr.size()) | 36 parser._addAttributeLen(#attr, f_##attr.c_str(), f_##attr.size()) |
| 37 | 37 |
| 38 #define SVG_ADD_ATTRIBUTE_ALIAS(attr, alias) \ | 38 #define SVG_ADD_ATTRIBUTE_ALIAS(attr, alias) \ |
| 39 if (f_##alias.size() > 0) \ | 39 if (f_##alias.size() > 0) \ |
| 40 parser._addAttributeLen(#attr, f_##alias.c_str(), f_##alias.size()) | 40 parser._addAttributeLen(#attr, f_##alias.c_str(), f_##alias.size()) |
| 41 | 41 |
| 42 #endif // SkSVGAttribute_DEFINED | 42 #endif // SkSVGAttribute_DEFINED |
| OLD | NEW |