From f87ce8b4133e5ff71a6e08bedf3e7e1d6dab7c05 Mon Sep 17 00:00:00 2001 From: Alisha Nanda Date: Tue, 7 Nov 2023 15:13:45 -0800 Subject: [PATCH] [hpack] Do not inline elements for encoder hpack table (#34890) --- src/core/BUILD | 1 - .../ext/transport/chttp2/transport/hpack_encoder_table.h | 6 ++---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/core/BUILD b/src/core/BUILD index d0064a86101..52c19815fdc 100644 --- a/src/core/BUILD +++ b/src/core/BUILD @@ -5704,7 +5704,6 @@ grpc_cc_library( hdrs = [ "ext/transport/chttp2/transport/hpack_encoder_table.h", ], - external_deps = ["absl/container:inlined_vector"], language = "c++", deps = [ "hpack_constants", diff --git a/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h b/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h index 623e50bf620..7b4d661a8b9 100644 --- a/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h +++ b/src/core/ext/transport/chttp2/transport/hpack_encoder_table.h @@ -21,8 +21,7 @@ #include #include - -#include "absl/container/inlined_vector.h" +#include #include "src/core/ext/transport/chttp2/transport/hpack_constants.h" @@ -73,8 +72,7 @@ class HPackEncoderTable { uint32_t table_elems_ = 0; uint32_t table_size_ = 0; // The size of each element in the HPACK table. - absl::InlinedVector - elem_size_; + std::vector elem_size_; }; } // namespace grpc_core