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())); |