| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "platform/fonts/opentype/OpenTypeCapsSupport.h" | 5 #include "platform/fonts/opentype/OpenTypeCapsSupport.h" |
| 6 | 6 |
| 7 namespace blink { | 7 namespace blink { |
| 8 | 8 |
| 9 OpenTypeCapsSupport::OpenTypeCapsSupport() | 9 OpenTypeCapsSupport::OpenTypeCapsSupport() |
| 10 : harf_buzz_face_(nullptr), | 10 : harf_buzz_face_(nullptr), |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 font_support_ = FontSupport::kNone; | 148 font_support_ = FontSupport::kNone; |
| 149 } | 149 } |
| 150 } | 150 } |
| 151 break; | 151 break; |
| 152 case FontDescription::kTitlingCaps: | 152 case FontDescription::kTitlingCaps: |
| 153 if (!SupportsOpenTypeFeature(script, HB_TAG('t', 'i', 't', 'l'))) { | 153 if (!SupportsOpenTypeFeature(script, HB_TAG('t', 'i', 't', 'l'))) { |
| 154 font_support_ = FontSupport::kNone; | 154 font_support_ = FontSupport::kNone; |
| 155 } | 155 } |
| 156 break; | 156 break; |
| 157 default: | 157 default: |
| 158 ASSERT_NOT_REACHED(); | 158 NOTREACHED(); |
| 159 } | 159 } |
| 160 } | 160 } |
| 161 | 161 |
| 162 } // namespace blink | 162 } // namespace blink |
| OLD | NEW |