[M69 Dev][Hotfix] Do not listen to cookie changes 98/193298/1
authorChandan Padhi <c.padhi@samsung.com>
Mon, 19 Nov 2018 05:40:16 +0000 (21:40 -0800)
committerChandan Padhi <c.padhi@samsung.com>
Mon, 19 Nov 2018 05:43:36 +0000 (21:43 -0800)
This is a hotfix provided for crash during browser shutdown.

Change-Id: If9877e9f0efdd8d96ad5f54cc51396ac4b0f4827
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
content/browser/storage_partition_impl_map.cc

index 9f56c4c..0307efc 100644 (file)
@@ -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