Index: net/disk_cache/blockfile/disk_format.h |
diff --git a/net/disk_cache/blockfile/disk_format.h b/net/disk_cache/blockfile/disk_format.h |
index 95ac58b6274caf2c969266f77b2ce5b5813db346..b2e666abb2be2d4606bd2f09eea51ded0bb4d9d4 100644 |
--- a/net/disk_cache/blockfile/disk_format.h |
+++ b/net/disk_cache/blockfile/disk_format.h |
@@ -116,7 +116,7 @@ struct EntryStore { |
char key[256 - 24 * 4]; // null terminated |
}; |
-COMPILE_ASSERT(sizeof(EntryStore) == 256, bad_EntyStore); |
+static_assert(sizeof(EntryStore) == 256, "bad EntryStore"); |
const int kMaxInternalKeyLength = 4 * sizeof(EntryStore) - |
offsetof(EntryStore, key) - 1; |
@@ -146,7 +146,7 @@ struct RankingsNode { |
}; |
#pragma pack(pop) |
-COMPILE_ASSERT(sizeof(RankingsNode) == 36, bad_RankingsNode); |
+static_assert(sizeof(RankingsNode) == 36, "bad RankingsNode"); |
} // namespace disk_cache |