Index: third_party/WebKit/Source/platform/fonts/FontFallbackList.h |
diff --git a/third_party/WebKit/Source/platform/fonts/FontFallbackList.h b/third_party/WebKit/Source/platform/fonts/FontFallbackList.h |
index eb31073e31defbafeffebc714c7cd0f6221c59f1..31355570a8968997c5049991e757b20dc7639306 100644 |
--- a/third_party/WebKit/Source/platform/fonts/FontFallbackList.h |
+++ b/third_party/WebKit/Source/platform/fonts/FontFallbackList.h |
@@ -63,7 +63,7 @@ class PLATFORM_EXPORT FontFallbackList : public RefCounted<FontFallbackList> { |
shape_cache_ = |
FontCache::GetFontCache()->GetShapeCache(key)->GetWeakPtr(); |
} |
- ASSERT(shape_cache_); |
+ DCHECK(shape_cache_); |
if (GetFontSelector()) |
shape_cache_->ClearIfVersionChanged(GetFontSelector()->Version()); |
return shape_cache_.get(); |
@@ -71,11 +71,11 @@ class PLATFORM_EXPORT FontFallbackList : public RefCounted<FontFallbackList> { |
const SimpleFontData* PrimarySimpleFontData( |
const FontDescription& font_description) { |
- ASSERT(IsMainThread()); |
+ DCHECK(IsMainThread()); |
if (!cached_primary_simple_font_data_) { |
cached_primary_simple_font_data_ = |
DeterminePrimarySimpleFontData(font_description); |
- ASSERT(cached_primary_simple_font_data_); |
+ DCHECK(cached_primary_simple_font_data_); |
} |
return cached_primary_simple_font_data_; |
} |