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

Unified Diff: third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.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
Index: third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp b/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp
index f99e68063d44e6efac51c99349711bd6e2f8f458..0f394a3b3ed6a1bd1bd4650d924251480fe640ad 100644
--- a/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp
@@ -112,8 +112,9 @@ FontResource* CSSFontFaceSrcValue::fetch(Document* document) const {
void CSSFontFaceSrcValue::restoreCachedResourceIfNeeded(
Document* document) const {
- ASSERT(m_fetched);
- ASSERT(document && document->fetcher());
+ DCHECK(m_fetched);
+ DCHECK(document);
+ DCHECK(document->fetcher());
const String resourceURL = document->completeURL(m_absoluteResource);
DCHECK_EQ(m_shouldCheckContentSecurityPolicy,
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSFontFaceRule.cpp ('k') | third_party/WebKit/Source/core/css/CSSFontSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698