Index: net/disk_cache/simple/simple_index.h |
diff --git a/net/disk_cache/simple/simple_index.h b/net/disk_cache/simple/simple_index.h |
index 3829a35436b00a8ad6b359805c8a7efb96cfc641..099d7fdb80c5ce6869ee2654497572209611b29a 100644 |
--- a/net/disk_cache/simple/simple_index.h |
+++ b/net/disk_cache/simple/simple_index.h |
@@ -69,7 +69,7 @@ class NET_EXPORT_PRIVATE EntryMetadata { |
uint32 last_used_time_seconds_since_epoch_; |
int32 entry_size_; // Storage size in bytes. |
}; |
-COMPILE_ASSERT(sizeof(EntryMetadata) == 8, metadata_size); |
+static_assert(sizeof(EntryMetadata) == 8, "incorrect metadata size"); |
// This class is not Thread-safe. |
class NET_EXPORT_PRIVATE SimpleIndex |