OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) Research In Motion Limited 2010-11. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2010-11. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 11 matching lines...) Expand all Loading... |
22 namespace blink { | 22 namespace blink { |
23 | 23 |
24 SVGTextLayoutAttributes::SVGTextLayoutAttributes(LayoutSVGInlineText* context) | 24 SVGTextLayoutAttributes::SVGTextLayoutAttributes(LayoutSVGInlineText* context) |
25 : m_context(context) | 25 : m_context(context) |
26 { | 26 { |
27 } | 27 } |
28 | 28 |
29 void SVGTextLayoutAttributes::clear() | 29 void SVGTextLayoutAttributes::clear() |
30 { | 30 { |
31 m_characterDataMap.clear(); | 31 m_characterDataMap.clear(); |
32 m_textMetricsValues.clear(); | |
33 } | 32 } |
34 | 33 |
35 } // namespace blink | 34 } // namespace blink |
OLD | NEW |