Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) Research In Motion Limited 2010-11. All rights reserved. | 2 * Copyright (C) 2014 Opera Software ASA. All rights reserved. |
|
fs
2016/05/18 15:55:05
Assuming this isn't covered by the same license as
| |
| 3 * Copyright (C) 2016 Samsung Electronics. All rights reserved. | |
| 3 * | 4 * |
| 4 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 5 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 6 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 7 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 8 * | 9 * |
| 9 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 * Library General Public License for more details. | 13 * Library General Public License for more details. |
| 13 * | 14 * |
| 14 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
| 15 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
| 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 17 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
| 19 * | |
| 18 */ | 20 */ |
| 19 | 21 |
| 20 #include "core/layout/svg/SVGTextLayoutAttributes.h" | 22 #include "core/style/StyleNavigationData.h" |
| 21 | 23 |
| 22 namespace blink { | 24 namespace blink { |
| 23 | 25 |
| 24 SVGTextLayoutAttributes::SVGTextLayoutAttributes(LayoutSVGInlineText* context) | 26 StyleNavigationData::StyleNavigationData() |
| 25 : m_context(context) | |
| 26 { | 27 { |
| 27 } | 28 } |
| 28 | 29 |
| 29 void SVGTextLayoutAttributes::clear() | 30 StyleNavigationData::StyleNavigationData(const StyleNavigationData &o) |
| 31 : m_up(o.m_up) | |
| 32 , m_down(o.m_down) | |
| 33 , m_left(o.m_left) | |
| 34 , m_right(o.m_right) | |
| 30 { | 35 { |
| 31 m_characterDataMap.clear(); | |
| 32 } | 36 } |
| 33 | 37 |
| 34 } // namespace blink | 38 } // namespace blink |
| OLD | NEW |