Index: ios/web/web_state/ui/crw_web_controller.mm |
diff --git a/ios/web/web_state/ui/crw_web_controller.mm b/ios/web/web_state/ui/crw_web_controller.mm |
index 81b2723810e1d3b079e5c25cd7f43633b49893be..286dc73a382efcd436d57d298489bc880fd92596 100644 |
--- a/ios/web/web_state/ui/crw_web_controller.mm |
+++ b/ios/web/web_state/ui/crw_web_controller.mm |
@@ -5089,7 +5089,7 @@ const NSTimeInterval kSnapshotOverlayTransition = 0.5; |
scoped_refptr<net::X509Certificate> cert = |
web::CreateCertFromChain([_webView certificateChain]); |
UMA_HISTOGRAM_BOOLEAN("WebController.WKWebViewHasCertForSecureConnection", |
- cert); |
+ static_cast<bool>(cert)); |
} |
} |