| Index: third_party/WebKit/Source/core/css/FontFace.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/FontFace.cpp b/third_party/WebKit/Source/core/css/FontFace.cpp
|
| index 2004519f27219bdc250acbe847a70b6928ee6b7f..6c1f57c115e98b34594256167eeb0fe4c277089a 100644
|
| --- a/third_party/WebKit/Source/core/css/FontFace.cpp
|
| +++ b/third_party/WebKit/Source/core/css/FontFace.cpp
|
| @@ -366,7 +366,7 @@ String FontFace::status() const {
|
|
|
| void FontFace::setLoadStatus(LoadStatusType status) {
|
| m_status = status;
|
| - ASSERT(m_status != Error || m_error);
|
| + DCHECK(m_status != Error || m_error);
|
|
|
| // When promises are resolved with 'thenables', instead of the object being
|
| // returned directly, the 'then' method is executed (the resolver tries to
|
| @@ -543,7 +543,7 @@ FontTraits FontFace::traits() const {
|
| case CSSValueBolder:
|
| break;
|
| default:
|
| - ASSERT_NOT_REACHED();
|
| + NOTREACHED();
|
| break;
|
| }
|
| }
|
| @@ -599,8 +599,8 @@ void FontFace::initCSSFontFace(Document* document, const CSSValue* src) {
|
|
|
| // Each item in the src property's list is a single CSSFontFaceSource. Put
|
| // them all into a CSSFontFace.
|
| - ASSERT(src);
|
| - ASSERT(src->isValueList());
|
| + DCHECK(src);
|
| + DCHECK(src->isValueList());
|
| const CSSValueList* srcList = toCSSValueList(src);
|
| int srcLength = srcList->length();
|
|
|
|
|