| Index: chrome/browser/ui/views/about_ipc_dialog.cc
|
| diff --git a/chrome/browser/ui/views/about_ipc_dialog.cc b/chrome/browser/ui/views/about_ipc_dialog.cc
|
| index 67d56b3e227a712731b01e65a17bf4098e5737f9..cb90ca1123d8434325cfa43076c8e3006aac8bc3 100644
|
| --- a/chrome/browser/ui/views/about_ipc_dialog.cc
|
| +++ b/chrome/browser/ui/views/about_ipc_dialog.cc
|
| @@ -9,7 +9,10 @@
|
| #include "ipc/ipc_message.h"
|
|
|
| #ifdef IPC_MESSAGE_LOG_ENABLED
|
| +#include "content/public/common/content_ipc_logging.h"
|
| #define IPC_MESSAGE_MACROS_LOG_ENABLED
|
| +#define IPC_LOG_TABLE_ADD_ENTRY(msg_id, logger) \
|
| + content::RegisterIPCLogger(msg_id, logger)
|
|
|
| // We need to do this real early to be sure IPC_MESSAGE_MACROS_LOG_ENABLED
|
| // doesn't get undefined.
|
| @@ -55,16 +58,6 @@ enum {
|
| kParamsColumn,
|
| };
|
|
|
| -// This class registers the browser IPC logger functions with IPC::Logging.
|
| -class RegisterLoggerFuncs {
|
| - public:
|
| - RegisterLoggerFuncs() {
|
| - IPC::Logging::set_log_function_map(&g_log_function_mapping);
|
| - }
|
| -};
|
| -
|
| -RegisterLoggerFuncs g_register_logger_funcs;
|
| -
|
| // The singleton dialog box. This is non-NULL when a dialog is active so we
|
| // know not to create a new one.
|
| AboutIPCDialog* g_active_dialog = NULL;
|
|
|