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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontCacheMemoryDumpProvider.cpp

Issue 2807913002: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/fonts (Closed)
Patch Set: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/fonts Created 3 years, 8 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/platform/fonts/FontCacheMemoryDumpProvider.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/FontCacheMemoryDumpProvider.cpp b/third_party/WebKit/Source/platform/fonts/FontCacheMemoryDumpProvider.cpp
index cf8fae2b45f58c6ff40f59482f5630a5676f1b41..73870dd95b1e92f6856707c9cda193ed71a6a563 100644
--- a/third_party/WebKit/Source/platform/fonts/FontCacheMemoryDumpProvider.cpp
+++ b/third_party/WebKit/Source/platform/fonts/FontCacheMemoryDumpProvider.cpp
@@ -17,7 +17,7 @@ FontCacheMemoryDumpProvider* FontCacheMemoryDumpProvider::instance() {
bool FontCacheMemoryDumpProvider::OnMemoryDump(
const base::trace_event::MemoryDumpArgs&,
base::trace_event::ProcessMemoryDump* memoryDump) {
- ASSERT(isMainThread());
+ DCHECK(isMainThread());
FontCache::fontCache()->dumpFontPlatformDataCache(memoryDump);
FontCache::fontCache()->dumpShapeResultCache(memoryDump);
return true;

Powered by Google App Engine
This is Rietveld 408576698