From 67eff02a6543652e07b8ebfea5b7f92d0be540eb Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 28 Sep 2016 16:49:26 -0700 Subject: [PATCH] :art: --- brightray/browser/url_request_context_getter.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/brightray/browser/url_request_context_getter.cc b/brightray/browser/url_request_context_getter.cc index 535beb590a0e..57ca1f1b4050 100644 --- a/brightray/browser/url_request_context_getter.cc +++ b/brightray/browser/url_request_context_getter.cc @@ -179,7 +179,6 @@ net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() { storage_.reset(new net::URLRequestContextStorage(url_request_context_.get())); - std::unique_ptr cookie_store = nullptr; auto cookie_path = in_memory_ ? base::FilePath() : base_path_.Append(FILE_PATH_LITERAL("Cookies")); auto cookie_config = content::CookieStoreConfig( @@ -188,7 +187,8 @@ net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() { nullptr, delegate_->CreateCookieDelegate()); cookie_config.cookieable_schemes = delegate_->GetCookieableSchemes(); - cookie_store = content::CreateCookieStore(cookie_config); + std::unique_ptr cookie_store = + content::CreateCookieStore(cookie_config); storage_->set_cookie_store(std::move(cookie_store)); storage_->set_channel_id_service(base::WrapUnique( new net::ChannelIDService(new net::DefaultChannelIDStore(nullptr),