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

Unified Diff: third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm

Issue 1828163002: Remove ASSERT_ARG(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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/platform/fonts/mac/FontPlatformDataMac.mm
diff --git a/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm b/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm
index db00edb92ee4031f6c9b6965f1fe162ad5a234b7..ca5351f58eb3fa4e455ee5587fd622d5a868700f 100644
--- a/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm
+++ b/third_party/WebKit/Source/platform/fonts/mac/FontPlatformDataMac.mm
@@ -152,7 +152,7 @@ FontPlatformData::FontPlatformData(NSFont *nsFont, float size, bool syntheticBol
, m_orientation(orientation)
, m_isHashTableDeletedValue(false)
{
- ASSERT_ARG(nsFont, nsFont);
+ DCHECK(nsFont);
if (canLoadInProcess(nsFont)) {
m_typeface = adoptRef(SkCreateTypefaceFromCTFont(toCTFontRef(nsFont)));
} else {

Powered by Google App Engine
This is Rietveld 408576698