Skip to content

Commit

Permalink
crypto: fix comment in ByteSource
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
tniessen authored and danielleadams committed Nov 9, 2020
1 parent 6d56ba0 commit dc4936b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/crypto_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ ByteSource& ByteSource::operator=(ByteSource&& other) noexcept {

std::unique_ptr<BackingStore> ByteSource::ReleaseToBackingStore() {
// It's ok for allocated_data_ to be nullptr but
// only if size_ is not zero.
// only if size_ is zero.
CHECK_IMPLIES(size_ > 0, allocated_data_ != nullptr);
std::unique_ptr<BackingStore> ptr = ArrayBuffer::NewBackingStore(
allocated_data_,
Expand Down

0 comments on commit dc4936b

Please sign in to comment.