| Index: net/spdy/hpack/hpack_huffman_table.cc
|
| diff --git a/net/spdy/hpack/hpack_huffman_table.cc b/net/spdy/hpack/hpack_huffman_table.cc
|
| index b56c58ece95b87291fa6f38602944332dd6f833d..e29e1c4debd675411f20bf4742caf0a974f9bb74 100644
|
| --- a/net/spdy/hpack/hpack_huffman_table.cc
|
| +++ b/net/spdy/hpack/hpack_huffman_table.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include <algorithm>
|
| #include <cmath>
|
| +#include <memory>
|
|
|
| #include "base/logging.h"
|
| #include "base/numerics/safe_conversions.h"
|
| @@ -263,9 +264,9 @@ size_t HpackHuffmanTable::EncodedSize(StringPiece in) const {
|
| return bit_count / 8;
|
| }
|
|
|
| -bool HpackHuffmanTable::DecodeString(HpackInputStream* in,
|
| - size_t out_capacity,
|
| - string* out) const {
|
| +bool HpackHuffmanTable::GenericDecodeString(HpackInputStream* in,
|
| + size_t out_capacity,
|
| + string* out) const {
|
| // Number of decode iterations required for a 32-bit code.
|
| const int kDecodeIterations = static_cast<int>(
|
| std::ceil((32.f - kDecodeTableRootBits) / kDecodeTableBranchBits));
|
|
|