From 64a1ed64e1b6574ef770decbac045743e1633545 Mon Sep 17 00:00:00 2001 From: Peter Varga <pvarga@inf.u-szeged.hu> Date: Tue, 7 Apr 2015 11:44:25 +0200 Subject: [PATCH] Revert "Enable the use of IPC tracing" This reverts commit 3ef408a32c352d86fbc1346304e0a6ffbbe12c0b. Change causes assertions in debug when browser exits. Change-Id: I5e4a57d4e444ad2974c7fe44c4928c486337a04a Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> --- src/core/content_main_delegate_qt.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/core/content_main_delegate_qt.cpp b/src/core/content_main_delegate_qt.cpp index 7c2dde8c4..b8e40a448 100644 --- a/src/core/content_main_delegate_qt.cpp +++ b/src/core/content_main_delegate_qt.cpp @@ -40,8 +40,6 @@ #include "base/logging.h" #include "base/path_service.h" #include "base/strings/string_number_conversions.h" -#include "content/public/browser/browser_ipc_logging.h" -#include "content/public/browser/browser_thread.h" #include "content/public/common/content_paths.h" #include "content/public/common/content_switches.h" #include "ui/base/l10n/l10n_util.h" @@ -83,10 +81,6 @@ void ContentMainDelegateQt::PreSandboxStartup() } logging::SetMinLogLevel(logLevel); - -#if defined(IPC_MESSAGE_LOG_ENABLED) - content::BrowserThread::PostTask(content::BrowserThread::UI, FROM_HERE, base::Bind(&content::EnableIPCLogging, true)); -#endif } content::ContentBrowserClient *ContentMainDelegateQt::CreateContentBrowserClient() -- GitLab