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

Unified Diff: ios/web/test/wk_web_view_crash_utils.mm

Issue 2595213003: Enable -Wundeclared-selector on ios. (Closed)
Patch Set: Fix more warnings. Created 4 years 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
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() {

Powered by Google App Engine
This is Rietveld 408576698