Index: Source/core/layout/LayoutThemeFontProviderWin.cpp |
diff --git a/Source/core/layout/LayoutThemeFontProviderWin.cpp b/Source/core/layout/LayoutThemeFontProviderWin.cpp |
index 1aeab62a120a04f60585f479e779775fcef7c244..e04b63b67b77dc53ce42f61031934ef9d1c4eb34 100644 |
--- a/Source/core/layout/LayoutThemeFontProviderWin.cpp |
+++ b/Source/core/layout/LayoutThemeFontProviderWin.cpp |
@@ -36,7 +36,7 @@ |
#define SIZEOF_STRUCT_WITH_SPECIFIED_LAST_MEMBER(structName, member) \ |
offsetof(structName, member) + \ |
- (sizeof static_cast<structName*>(0)->member) |
+ (sizeof static_cast<structName*>(nullptr)->member) |
#define NONCLIENTMETRICS_SIZE_PRE_VISTA \ |
SIZEOF_STRUCT_WITH_SPECIFIED_LAST_MEMBER(NONCLIENTMETRICS, lfMessageFont) |