Change GetMinStreamSize API to use size_t, rather than uint16_t avoiding truncation

gfe-relnote: N/A, api change only.
PiperOrigin-RevId: 277721016
Change-Id: I3e8fba1588d27c2ea1a3a4f6e5fa6de425bba732
diff --git a/quic/core/quic_framer.cc b/quic/core/quic_framer.cc
index 48eb295..756788f 100644
--- a/quic/core/quic_framer.cc
+++ b/quic/core/quic_framer.cc
@@ -449,7 +449,7 @@
                                          QuicStreamId stream_id,
                                          QuicStreamOffset offset,
                                          bool last_frame_in_packet,
-                                         QuicPacketLength data_length) {
+                                         size_t data_length) {
   if (VersionHasIetfQuicFrames(version)) {
     return kQuicFrameTypeSize + QuicDataWriter::GetVarInt62Len(stream_id) +
            (last_frame_in_packet
diff --git a/quic/core/quic_framer.h b/quic/core/quic_framer.h
index 4e1b11e..d9e9d27 100644
--- a/quic/core/quic_framer.h
+++ b/quic/core/quic_framer.h
@@ -288,7 +288,7 @@
                                       QuicStreamId stream_id,
                                       QuicStreamOffset offset,
                                       bool last_frame_in_packet,
-                                      QuicPacketLength data_length);
+                                      size_t data_length);
   // Returns the overhead of framing a CRYPTO frame with the specific offset and
   // data length provided, but not counting the size of the data payload.
   static size_t GetMinCryptoFrameSize(QuicStreamOffset offset,