Skip to content

Commit dc4936b

Browse files
tniessendanielleadams
authored andcommitted
crypto: fix comment in ByteSource
PR-URL: #35972 Refs: #35821 Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: Zeyu Yang <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Jiawen Geng <[email protected]> Reviewed-By: Ricky Zhou <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
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)