Automated g4 rollback of changelist 329381168.
*** Reason for rollback ***
Re-revert absl::node_hash_map.
This time, the problem appears to be binary size increase on Chrome for Android.
*** Original change description ***
Re-land cl/328561880
absl::node_hash_map is now available in Chromium: https://chromium-review.googlesource.com/c/chromium/src/+/2379635
***
PiperOrigin-RevId: 329554714
Change-Id: Icd563f527ce670c6bb7307e8a88037d46e5a2549
diff --git a/common/platform/api/quiche_unordered_containers.h b/common/platform/api/quiche_unordered_containers.h
index 764406e..a53a206 100644
--- a/common/platform/api/quiche_unordered_containers.h
+++ b/common/platform/api/quiche_unordered_containers.h
@@ -7,7 +7,6 @@
#include <functional>
-#include "absl/container/node_hash_map.h"
#include "net/quiche/common/platform/impl/quiche_unordered_containers_impl.h"
namespace quiche {
@@ -17,13 +16,11 @@
using QuicheDefaultHasher = QuicheDefaultHasherImpl<Key>;
// A general-purpose unordered map.
-// TODO(b/166325009): replace this in code with absl::node_hash_map and
-// absl::flat_hash_map and delete this alias.
template <typename Key,
typename Value,
typename Hash = QuicheDefaultHasher<Key>,
typename Eq = std::equal_to<Key>>
-using QuicheUnorderedMap = absl::node_hash_map<Key, Value, Hash, Eq>;
+using QuicheUnorderedMap = QuicheUnorderedMapImpl<Key, Value, Hash, Eq>;
} // namespace quiche