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

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: rebase 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 6df0454be77f6dc6079fbe4d01ab1d13cb214589..4d06df4fd137d33cb7326a33f32cc0fd9cccd9b1 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* memory_dump) {
- ASSERT(IsMainThread());
+ DCHECK(IsMainThread());
FontCache::GetFontCache()->DumpFontPlatformDataCache(memory_dump);
FontCache::GetFontCache()->DumpShapeResultCache(memory_dump);
return true;
« no previous file with comments | « third_party/WebKit/Source/platform/fonts/FontCache.cpp ('k') | third_party/WebKit/Source/platform/fonts/FontDataCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698