| Index: third_party/WebKit/Source/platform/fonts/FontFaceCreationParams.h
|
| diff --git a/third_party/WebKit/Source/platform/fonts/FontFaceCreationParams.h b/third_party/WebKit/Source/platform/fonts/FontFaceCreationParams.h
|
| index d8998837138a56edac80c1665187097db102dbc9..80facb8825d577d8ffab3d1b9048b8055a291262 100644
|
| --- a/third_party/WebKit/Source/platform/fonts/FontFaceCreationParams.h
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontFaceCreationParams.h
|
| @@ -82,19 +82,19 @@ class FontFaceCreationParams {
|
|
|
| FontFaceCreationType CreationType() const { return creation_type_; }
|
| AtomicString Family() const {
|
| - ASSERT(creation_type_ == kCreateFontByFamily);
|
| + DCHECK_EQ(creation_type_, kCreateFontByFamily);
|
| return family_;
|
| }
|
| CString Filename() const {
|
| - ASSERT(creation_type_ == kCreateFontByFciIdAndTtcIndex);
|
| + DCHECK_EQ(creation_type_, kCreateFontByFciIdAndTtcIndex);
|
| return filename_;
|
| }
|
| int FontconfigInterfaceId() const {
|
| - ASSERT(creation_type_ == kCreateFontByFciIdAndTtcIndex);
|
| + DCHECK_EQ(creation_type_, kCreateFontByFciIdAndTtcIndex);
|
| return fontconfig_interface_id_;
|
| }
|
| int TtcIndex() const {
|
| - ASSERT(creation_type_ == kCreateFontByFciIdAndTtcIndex);
|
| + DCHECK_EQ(creation_type_, kCreateFontByFciIdAndTtcIndex);
|
| return ttc_index_;
|
| }
|
|
|
|
|