Commit 46974c6c authored by David Benjamin's avatar David Benjamin Committed by Commit Bot

Remove unnecessary for loop.

Both fields are std::vector<uint16_t> which is copy-assignable.

Bug: none
Change-Id: I4f770d790abbdc8086d0b809dd8f1ff90475ad23
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1737369
Commit-Queue: David Benjamin <davidben@chromium.org>
Commit-Queue: Mustafa Emre Acer <meacer@chromium.org>
Auto-Submit: David Benjamin <davidben@chromium.org>
Reviewed-by: default avatarMustafa Emre Acer <meacer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#684144}
parent 6470a9fb
......@@ -33,9 +33,7 @@ net::SSLContextConfig MojoSSLConfigToSSLContextConfig(
MojoSSLVersionToNetSSLVersion(mojo_config->version_max);
DCHECK_LE(net_config.version_min, net_config.version_max);
for (uint16_t cipher_suite : mojo_config->disabled_cipher_suites) {
net_config.disabled_cipher_suites.push_back(cipher_suite);
}
net_config.disabled_cipher_suites = mojo_config->disabled_cipher_suites;
return net_config;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment