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

Unified Diff: ios/web/net/crw_cert_verification_controller.mm

Issue 2861583006: Use constexpr TaskTraits constructor in ios. (Closed)
Patch Set: Created 3 years, 8 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/net/crw_cert_verification_controller.mm
diff --git a/ios/web/net/crw_cert_verification_controller.mm b/ios/web/net/crw_cert_verification_controller.mm
index 91b77536efca23c8b49a4eac8080e0b629f828e8..587d92c9eb342f0b1d70f9280d608f65d8655a65 100644
--- a/ios/web/net/crw_cert_verification_controller.mm
+++ b/ios/web/net/crw_cert_verification_controller.mm
@@ -194,9 +194,7 @@ decideLoadPolicyForRejectedTrustResult:(SecTrustResultType)trustResult
// SecTrustEvaluate performs trust evaluation synchronously, possibly making
// network requests. The UI thread should not be blocked by that operation.
base::PostTaskWithTraits(
- FROM_HERE,
- base::TaskTraits().WithShutdownBehavior(
- base::TaskShutdownBehavior::BLOCK_SHUTDOWN),
+ FROM_HERE, {base::TaskShutdownBehavior::BLOCK_SHUTDOWN},
base::BindBlockArc(^{
SecTrustResultType trustResult = kSecTrustResultInvalid;
if (SecTrustEvaluate(trust.get(), &trustResult) != errSecSuccess) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698