From c403772ef31d2484848d65bbde8420af450eeca0 Mon Sep 17 00:00:00 2001 From: Chandan Padhi Date: Sun, 18 Nov 2018 21:40:16 -0800 Subject: [PATCH] [M69 Dev][Hotfix] Do not listen to cookie changes This is a hotfix provided for crash during browser shutdown. Change-Id: If9877e9f0efdd8d96ad5f54cc51396ac4b0f4827 Signed-off-by: Chandan Padhi --- content/browser/storage_partition_impl_map.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/browser/storage_partition_impl_map.cc b/content/browser/storage_partition_impl_map.cc index 9f56c4c..0307efc 100644 --- a/content/browser/storage_partition_impl_map.cc +++ b/content/browser/storage_partition_impl_map.cc @@ -436,8 +436,12 @@ StoragePartitionImpl* StoragePartitionImplMap::Get( browser_context_->CreateMediaRequestContext() : browser_context_->CreateMediaRequestContextForStoragePartition( partition->GetPath(), in_memory)); +#if !defined(EWK_BRINGUP) // FIXME: m69 bringup + // FIXME: Temporarily disabling this code to fix crash at browser shutdown. + // EWK_BRINGUP definition should be removed with proper fix. partition->GetCookieStoreContext()->ListenToCookieChanges( partition->GetNetworkContext(), base::DoNothing()); +#endif if (!base::FeatureList::IsEnabled(network::features::kNetworkService)) { // This needs to happen after SetURLRequestContext() since we need this -- 2.7.4