Index: tools/set_default_handler/set_default_handler_main.cc |
diff --git a/tools/set_default_handler/set_default_handler_main.cc b/tools/set_default_handler/set_default_handler_main.cc |
index dad453615084dc1b21da22f0480657182c16c213..7f2d9da30876cfe579a4d5bfefa3883e66e3fa3b 100644 |
--- a/tools/set_default_handler/set_default_handler_main.cc |
+++ b/tools/set_default_handler/set_default_handler_main.cc |
@@ -31,10 +31,11 @@ int wmain(int argc, wchar_t* argv[]) { |
CommandLine::Init(0, NULL); |
// The exit manager is in charge of calling the dtors of singletons. |
base::AtExitManager exit_manager; |
- logging::InitLogging(NULL, logging::LOG_ONLY_TO_SYSTEM_DEBUG_LOG, |
- logging::DONT_LOCK_LOG_FILE, |
- logging::APPEND_TO_OLD_LOG_FILE, |
- logging::ENABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS); |
+ logging::LoggingSettings settings; |
+ settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; |
+ settings.dcheck_state = |
+ logging::ENABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS; |
+ logging::InitLogging(settings); |
logging::SetMinLogLevel(logging::LOG_VERBOSE); |
ui::win::CreateATLModuleIfNeeded(); |