From c3b0c8b2f48858dcd3e9ce55c9b778224dcc7567 Mon Sep 17 00:00:00 2001 From: Halton Huo Date: Mon, 4 Jul 2016 14:05:54 +0800 Subject: [PATCH] [Backport] Disable static_assert about TransmissionInfo size to pass debug build. Original commit message: > Disable static_assert about TransmissionInfo size to pass debug build. > > R=rch@chromium.org > BUG=590140 > > Committed: https://crrev.com/0e72481a295461c7ff302503a984c1771e597b1e > Cr-Commit-Position: refs/heads/master@{#388269} > > patch from issue 1902793002 at patchset 1 (http://crrev.com/1902793002#ps1) --- net/quic/quic_protocol.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/quic/quic_protocol.h b/net/quic/quic_protocol.h index 44bcbac1ffdc4..9a5bec08f9349 100644 --- a/net/quic/quic_protocol.h +++ b/net/quic/quic_protocol.h @@ -1390,8 +1390,6 @@ struct NET_EXPORT_PRIVATE TransmissionInfo { // Non-empty if there is a listener for this packet. std::list ack_listeners; }; -static_assert(sizeof(TransmissionInfo) <= 128, - "TODO(ianswett): Keep the TransmissionInfo size to a cacheline."); // Struct to store the pending retransmission information. struct PendingRetransmission {