@@ -270,7 +270,8 @@ class BrotliEncoderContext final : public BrotliContext {
270270 bool last_result_ = false ;
271271 DeleteFnPtr<BrotliEncoderState, BrotliEncoderDestroyInstance> state_;
272272 DeleteFnPtr<BrotliEncoderPreparedDictionary,
273- BrotliEncoderDestroyPreparedDictionary> prepared_dictionary_;
273+ BrotliEncoderDestroyPreparedDictionary>
274+ prepared_dictionary_;
274275 // Dictionary data must remain valid while the prepared dictionary is alive.
275276 std::vector<uint8_t > dictionary_;
276277};
@@ -1434,14 +1435,14 @@ CompressionError BrotliEncoderContext::Init(std::vector<uint8_t>&& dictionary) {
14341435 // dictionary, so take ownership via move.
14351436 dictionary_ = std::move (dictionary);
14361437
1437- prepared_dictionary_.reset (BrotliEncoderPrepareDictionary (
1438- BROTLI_SHARED_DICTIONARY_RAW,
1439- dictionary_.size (),
1440- dictionary_.data (),
1441- BROTLI_MAX_QUALITY,
1442- alloc,
1443- free,
1444- opaque));
1438+ prepared_dictionary_.reset (
1439+ BrotliEncoderPrepareDictionary ( BROTLI_SHARED_DICTIONARY_RAW,
1440+ dictionary_.size (),
1441+ dictionary_.data (),
1442+ BROTLI_MAX_QUALITY,
1443+ alloc,
1444+ free,
1445+ opaque));
14451446 if (!prepared_dictionary_) {
14461447 return CompressionError (" Failed to prepare brotli dictionary" ,
14471448 " ERR_ZLIB_DICTIONARY_LOAD_FAILED" ,
@@ -1456,7 +1457,7 @@ CompressionError BrotliEncoderContext::Init(std::vector<uint8_t>&& dictionary) {
14561457 }
14571458 }
14581459
1459- return CompressionError {};
1460+ return CompressionError{};
14601461}
14611462
14621463CompressionError BrotliEncoderContext::ResetStream () {
@@ -1541,7 +1542,7 @@ CompressionError BrotliDecoderContext::Init(std::vector<uint8_t>&& dictionary) {
15411542 }
15421543 }
15431544
1544- return CompressionError {};
1545+ return CompressionError{};
15451546}
15461547
15471548CompressionError BrotliDecoderContext::ResetStream () {
0 commit comments