Below changes are needed temporarily for fixing crashes
during web app bringup. This patch will be reverted once
patches related to cookie and chromium shutdown are migrated.
Change-Id: I6ab9155af24f771a285921320052aead013fcf4c
Signed-off-by: Uzair <uzair.jaleel@samsung.com>
}
Delegate* delegate = base::MessageLoopForUI::current();
+
+// Added as part M67 bringup need to check why
+// MessagePumpForUIEfl::DoWork is called even after
+// MessageLoop is destructed.
+#if defined(EWK_BRINGUP) // FIXME: m67 bringup
+ if (!delegate)
+ return;
+#endif
+
if (!run_loop_) {
run_loop_ = new RunLoop();
bool result = run_loop_->BeforeRun();
}
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- if (file_storage == EWK_COOKIE_PERSISTENT_STORAGE_SQLITE) {
+ // Remove below "false" this was added as part of M67 Brinup to avoid
+ // crash related to CreateSQLitePersistentCookieStore
+ if (file_storage == EWK_COOKIE_PERSISTENT_STORAGE_SQLITE
+#if defined(EWK_BRINGUP) // FIXME: m67 bringup
+ && false
+#endif
+ ) {
CreateSQLitePersistentCookieStore(path, persist_session_cookies);
} else {
CreatePersistentCookieStore(path, persist_session_cookies);