Index: ios/web/test/wk_web_view_crash_utils.mm |
diff --git a/ios/web/test/wk_web_view_crash_utils.mm b/ios/web/test/wk_web_view_crash_utils.mm |
index 4657d620dd71d4ca5ce68ab68bb3260564a5e267..a8bf8c6655d7f7a5e67833c34f4365c8b43a232d 100644 |
--- a/ios/web/test/wk_web_view_crash_utils.mm |
+++ b/ios/web/test/wk_web_view_crash_utils.mm |
@@ -39,7 +39,10 @@ void SimulateWKWebViewCrash(WKWebView* webView) { |
if ([webView.navigationDelegate respondsToSelector:selector]) { |
[webView.navigationDelegate performSelector:selector withObject:webView]; |
} |
+#pragma clang diagnostic push |
+#pragma clang diagnostic ignored "-Wundeclared-selector" |
[webView performSelector:@selector(_processDidExit)]; |
+#pragma clang diagnostic pop |
} |
WKWebView* BuildTerminatedWKWebView() { |