| Index: third_party/WebKit/Source/core/css/FontFaceSet.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/FontFaceSet.cpp b/third_party/WebKit/Source/core/css/FontFaceSet.cpp
|
| index 34fab213ee13c88c5b703f7c1446c251d6f8bf2d..7f6d41e41cad03ce420b08f7007ca83853d592a2 100644
|
| --- a/third_party/WebKit/Source/core/css/FontFaceSet.cpp
|
| +++ b/third_party/WebKit/Source/core/css/FontFaceSet.cpp
|
| @@ -257,7 +257,7 @@ ScriptPromise FontFaceSet::ready(ScriptState* scriptState) {
|
| FontFaceSet* FontFaceSet::addForBinding(ScriptState*,
|
| FontFace* fontFace,
|
| ExceptionState&) {
|
| - ASSERT(fontFace);
|
| + DCHECK(fontFace);
|
| if (!inActiveDocumentContext())
|
| return this;
|
| if (m_nonCSSConnectedFaces.contains(fontFace))
|
| @@ -290,7 +290,7 @@ void FontFaceSet::clearForBinding(ScriptState*, ExceptionState&) {
|
| bool FontFaceSet::deleteForBinding(ScriptState*,
|
| FontFace* fontFace,
|
| ExceptionState&) {
|
| - ASSERT(fontFace);
|
| + DCHECK(fontFace);
|
| if (!inActiveDocumentContext())
|
| return false;
|
| HeapListHashSet<Member<FontFace>>::iterator it =
|
| @@ -310,7 +310,7 @@ bool FontFaceSet::deleteForBinding(ScriptState*,
|
| bool FontFaceSet::hasForBinding(ScriptState*,
|
| FontFace* fontFace,
|
| ExceptionState&) const {
|
| - ASSERT(fontFace);
|
| + DCHECK(fontFace);
|
| if (!inActiveDocumentContext())
|
| return false;
|
| return m_nonCSSConnectedFaces.contains(fontFace) ||
|
|
|