Skip to content

Commit dc4936b

Browse files
tniessendanielleadams
authored andcommitted
crypto: fix comment in ByteSource
PR-URL: #35972 Refs: #35821 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Zeyu Yang <himself65@outlook.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Ricky Zhou <0x19951125@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 6d56ba0 commit dc4936b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto/crypto_util.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ ByteSource& ByteSource::operator=(ByteSource&& other) noexcept {
237237

238238
std::unique_ptr<BackingStore> ByteSource::ReleaseToBackingStore() {
239239
// It's ok for allocated_data_ to be nullptr but
240-
// only if size_ is not zero.
240+
// only if size_ is zero.
241241
CHECK_IMPLIES(size_ > 0, allocated_data_ != nullptr);
242242
std::unique_ptr<BackingStore> ptr = ArrayBuffer::NewBackingStore(
243243
allocated_data_,

0 commit comments

Comments
 (0)