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

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

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: Fixed the Windows Failure 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/CSSSegmentedFontFace.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp b/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
index a92f5b239cd43aade1010665409c0fc04e115081..55ff4f3015d2c931eb342143a1fea0c0ab5103d5 100644
--- a/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
+++ b/third_party/WebKit/Source/core/css/CSSSegmentedFontFace.cpp
@@ -127,7 +127,7 @@ PassRefPtr<FontData> CSSSegmentedFontFace::getFontData(
continue;
if (RefPtr<SimpleFontData> faceFontData =
(*it)->cssFontFace()->getFontData(requestedFontDescription)) {
- ASSERT(!faceFontData->isSegmented());
+ DCHECK(!faceFontData->isSegmented());
if (faceFontData->isCustomFont()) {
fontData->appendFace(adoptRef(new FontDataForRangeSet(
std::move(faceFontData), (*it)->cssFontFace()->ranges())));

Powered by Google App Engine
This is Rietveld 408576698