OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) Research In Motion Limited 2010-2012. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2010-2012. 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 case FontOrientation::VerticalRotated: | 110 case FontOrientation::VerticalRotated: |
111 return width(); | 111 return width(); |
112 case FontOrientation::VerticalUpright: | 112 case FontOrientation::VerticalUpright: |
113 return height(); | 113 return height(); |
114 default: | 114 default: |
115 ASSERT_NOT_REACHED(); | 115 ASSERT_NOT_REACHED(); |
116 return width(); | 116 return width(); |
117 } | 117 } |
118 } | 118 } |
119 | 119 |
120 } | 120 } // namespace blink |
OLD | NEW |