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

Unified Diff: ios/web/shell/view_controller.mm

Issue 1171203004: Correct iOS build for latest Xcode beta. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit 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/shell/view_controller.mm
diff --git a/ios/web/shell/view_controller.mm b/ios/web/shell/view_controller.mm
index 16e78fe72955d84dc38ffc0b678983e3e20f934d..eb1dcc63b3c96487bb159c33f96b7192583859b0 100644
--- a/ios/web/shell/view_controller.mm
+++ b/ios/web/shell/view_controller.mm
@@ -130,7 +130,7 @@ bool UseWKWebView() {
- (void)setUpNetworkStack {
// Disable the default cache.
- [NSURLCache setSharedURLCache:nil];
+ [NSURLCache setSharedURLCache:[[[NSURLCache alloc] init] autorelease]];
justincohen 2015/06/10 12:25:57 droger@ is this correct?
droger 2015/06/10 12:34:09 No. We don't want a cache. If we can't pass nil, w
_httpProtocolDelegate.reset(new web::WebHTTPProtocolHandlerDelegate(
_browserState->GetRequestContext()));

Powered by Google App Engine
This is Rietveld 408576698