Index: ios/chrome/browser/ios_chrome_io_thread.mm |
diff --git a/ios/chrome/browser/ios_chrome_io_thread.mm b/ios/chrome/browser/ios_chrome_io_thread.mm |
index 61dfa99d4876a8620868a96b5d2e1ac517bcecc1..ef492dc3b698b1c7b95aeead7c512743dbbc3229 100644 |
--- a/ios/chrome/browser/ios_chrome_io_thread.mm |
+++ b/ios/chrome/browser/ios_chrome_io_thread.mm |
@@ -429,7 +429,7 @@ void IOSChromeIOThread::Init() { |
CreateDefaultAuthHandlerFactory(); |
globals_->http_server_properties.reset(new net::HttpServerPropertiesImpl()); |
// In-memory cookie store. |
- globals_->system_cookie_store = new net::CookieMonster(nullptr, nullptr); |
+ globals_->system_cookie_store.reset(new net::CookieMonster(nullptr, nullptr)); |
// In-memory channel ID store. |
globals_->system_channel_id_service.reset( |
new net::ChannelIDService(new net::DefaultChannelIDStore(nullptr), |