Index: webkit/support/webkit_support.cc |
diff --git a/webkit/support/webkit_support.cc b/webkit/support/webkit_support.cc |
index 8c8961f85bd175cdeb7f61b2db8672ab0a8fe07c..0e0997fd77fe8ce8d6b0a88d49b5a4f31340b545 100644 |
--- a/webkit/support/webkit_support.cc |
+++ b/webkit/support/webkit_support.cc |
@@ -116,15 +116,13 @@ void InitLogging() { |
base::FilePath log_filename; |
PathService::Get(base::DIR_EXE, &log_filename); |
log_filename = log_filename.AppendASCII("DumpRenderTree.log"); |
- logging::InitLogging( |
- log_filename.value().c_str(), |
- // Only log to a file. This prevents debugging output from disrupting |
- // whether or not we pass. |
- logging::LOG_ONLY_TO_FILE, |
- // We might have multiple DumpRenderTree processes going at once. |
- logging::LOCK_LOG_FILE, |
- logging::DELETE_OLD_LOG_FILE, |
- logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS); |
+ logging::LoggingSettings settings; |
+ // Only log to a file. This prevents debugging output from disrupting |
+ // whether or not we pass. |
+ settings.logging_dest = logging::LOG_TO_FILE; |
+ settings.log_file = log_filename.value().c_str(); |
+ settings.delete_old = logging::DELETE_OLD_LOG_FILE; |
+ logging::InitLogging(settings); |
// We want process and thread IDs because we may have multiple processes. |
const bool kProcessId = true; |