Index: ios/web/app/web_main_loop.mm |
diff --git a/ios/web/app/web_main_loop.mm b/ios/web/app/web_main_loop.mm |
index be504e0df6c798b5cd100353e08a8d68075008c7..ac91ba6b9fa39e6e558b29c822c6ed03e9cf3b7e 100644 |
--- a/ios/web/app/web_main_loop.mm |
+++ b/ios/web/app/web_main_loop.mm |
@@ -54,8 +54,10 @@ void WebMainLoop::EarlyInitialization() { |
parts_->PreEarlyInitialization(); |
} |
+#if defined(USE_NSS_VERIFIER) |
// We want to be sure to init NSPR on the main thread. |
crypto::EnsureNSPRInit(); |
+#endif |
if (parts_) { |
parts_->PostEarlyInitialization(); |