[M126 Migration] Revert "[M120 Migration]Fix for crash during chrome exit" 13/316713/1
authorv-saha <v.saha@samsung.com>
Tue, 27 Aug 2024 06:59:00 +0000 (12:29 +0530)
committerv-saha <v.saha@samsung.com>
Tue, 27 Aug 2024 06:59:00 +0000 (12:29 +0530)
Original commit 5067b78 disabled Crypto related code which was causing crash
in M108. On M120, the block of code is needed as os_crypto_linux_impl.cc
is compiled, hence reverting the original commit to fix the chrome
hang/crash issue after launch.

Reference: https://review.tizen.org/gerrit/309903

Change-Id: If2a554fe3de96c3705e162694194bbc226f9e921
Signed-off-by: v-saha <v.saha@samsung.com>
chrome/browser/chrome_browser_main_linux.cc

index e96dc870cf40e242df37348061d034420b01dad1..a05cbe583d8535bf8ec7a144cfa16d01d3b97356 100644 (file)
@@ -71,9 +71,9 @@ void ChromeBrowserMainPartsLinux::PostCreateMainMessageLoop() {
   // initialization depend on FeatureList, and is done elsewhere.
 #endif  // BUILDFLAG(IS_CHROMEOS)
 
+#if !BUILDFLAG(IS_CHROMEOS)
   bluez::BluezDBusManager::Initialize(nullptr /* system_bus */);
 
-#if !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_TIZEN)
   // Set up crypt config. This needs to be done before anything starts the
   // network service, as the raw encryption key needs to be shared with the
   // network service for encrypted cookie storage.