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

Unified Diff: ios/web/web_state/ui/crw_web_controller_unittest.mm

Issue 1171203004: Correct iOS build for latest Xcode beta. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 5 years, 6 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
Index: ios/web/web_state/ui/crw_web_controller_unittest.mm
diff --git a/ios/web/web_state/ui/crw_web_controller_unittest.mm b/ios/web/web_state/ui/crw_web_controller_unittest.mm
index 830504a9584298099ab7dc91ac1ea049696d8c48..864a176b8177d79e99091d3419078ccb6fb2c960 100644
--- a/ios/web/web_state/ui/crw_web_controller_unittest.mm
+++ b/ios/web/web_state/ui/crw_web_controller_unittest.mm
@@ -839,9 +839,11 @@ TEST_F(CRWWKWebViewWebControllerTest, SSLError) {
[NSError errorWithDomain:NSURLErrorDomain
code:NSURLErrorServerCertificateHasUnknownRoot
userInfo:nil];
- [static_cast<id<WKNavigationDelegate>>(webController_.get()) webView:nil
- didFailProvisionalNavigation:nil
- withError:error];
+ [static_cast<id<WKNavigationDelegate>>(webController_.get())
+ webView:static_cast<WKWebView*>(
+ [webController_ webView])
+ didFailProvisionalNavigation:nil
+ withError:error];
// Verify correctness of delegate's method arguments.
EXPECT_TRUE([mockDelegate_ SSLInfo].is_valid());

Powered by Google App Engine
This is Rietveld 408576698