Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: runtime/bin/crypto_fuchsia.cc

Issue 2480793002: clang-format runtime/bin (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/crypto_android.cc ('k') | runtime/bin/crypto_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/crypto_fuchsia.cc
diff --git a/runtime/bin/crypto_fuchsia.cc b/runtime/bin/crypto_fuchsia.cc
index b4c84d01ef8fa745863c3ecbf698b3289a36caa6..a0665744f0912ea8cf1b4f5d1f16d45ccdd36b1f 100644
--- a/runtime/bin/crypto_fuchsia.cc
+++ b/runtime/bin/crypto_fuchsia.cc
@@ -17,8 +17,7 @@ bool Crypto::GetRandomBytes(intptr_t count, uint8_t* buffer) {
while (read < count) {
const intptr_t remaining = count - read;
const intptr_t len =
- (MX_CPRNG_DRAW_MAX_LEN < remaining) ? MX_CPRNG_DRAW_MAX_LEN
- : remaining;
+ (MX_CPRNG_DRAW_MAX_LEN < remaining) ? MX_CPRNG_DRAW_MAX_LEN : remaining;
mx_size_t res = 0;
const mx_status_t status = mx_cprng_draw(buffer + read, len, &res);
if (status != NO_ERROR) {
« no previous file with comments | « runtime/bin/crypto_android.cc ('k') | runtime/bin/crypto_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698