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

Unified Diff: third_party/WebKit/Source/core/css/FontFaceSet.cpp

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: All windows error are Resolved now. Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFace.cpp ('k') | third_party/WebKit/Source/core/css/FontSize.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) ||
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFace.cpp ('k') | third_party/WebKit/Source/core/css/FontSize.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698