Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: third_party/WebKit/Source/platform/fonts/opentype/OpenTypeCapsSupport.cpp

Issue 2807913002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/fonts (Closed)
Patch Set: rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698