Replace QuicheContainsKey with a direct call to find()
PiperOrigin-RevId: 332015920
Change-Id: I4567cfcf31b2b0b49abe49b122f4593821d50a47
diff --git a/spdy/core/http2_priority_write_scheduler.h b/spdy/core/http2_priority_write_scheduler.h
index a50745f..a58e224 100644
--- a/spdy/core/http2_priority_write_scheduler.h
+++ b/spdy/core/http2_priority_write_scheduler.h
@@ -17,7 +17,6 @@
#include <utility>
#include <vector>
-#include "net/third_party/quiche/src/common/platform/api/quiche_map_util.h"
#include "net/third_party/quiche/src/common/platform/api/quiche_str_cat.h"
#include "net/third_party/quiche/src/spdy/core/spdy_intrusive_list.h"
#include "net/third_party/quiche/src/spdy/core/spdy_protocol.h"
@@ -211,7 +210,7 @@
template <typename StreamIdType>
bool Http2PriorityWriteScheduler<StreamIdType>::StreamRegistered(
StreamIdType stream_id) const {
- return quiche::QuicheContainsKey(all_stream_infos_, stream_id);
+ return all_stream_infos_.find(stream_id) != all_stream_infos_.end();
}
template <typename StreamIdType>