Index: media/tools/media_bench/media_bench.cc |
diff --git a/media/tools/media_bench/media_bench.cc b/media/tools/media_bench/media_bench.cc |
index 6c790c89716d95f2fc73667d9c683fb702f17b4d..0948a966b825734609230f2c23000ab3a45b499c 100644 |
--- a/media/tools/media_bench/media_bench.cc |
+++ b/media/tools/media_bench/media_bench.cc |
@@ -92,12 +92,9 @@ int main(int argc, const char** argv) { |
CommandLine::Init(argc, argv); |
- logging::InitLogging( |
- NULL, |
- logging::LOG_ONLY_TO_SYSTEM_DEBUG_LOG, |
- logging::LOCK_LOG_FILE, // Ignored. |
- logging::DELETE_OLD_LOG_FILE, // Ignored. |
- logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS); |
+ logging::LoggingSettings settings; |
+ settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; |
+ logging::InitLogging(settings); |
const CommandLine* cmd_line = CommandLine::ForCurrentProcess(); |
const CommandLine::StringVector& filenames = cmd_line->GetArgs(); |