Index: content/common/gpu/media/video_decode_accelerator_unittest.cc |
diff --git a/content/common/gpu/media/video_decode_accelerator_unittest.cc b/content/common/gpu/media/video_decode_accelerator_unittest.cc |
index 43227d634b3bbabc0b409559dba562e25f8211cd..b4ce48496b21adfd3a2ace7ca72bdbf7c1263425 100644 |
--- a/content/common/gpu/media/video_decode_accelerator_unittest.cc |
+++ b/content/common/gpu/media/video_decode_accelerator_unittest.cc |
@@ -944,12 +944,11 @@ int main(int argc, char **argv) { |
CommandLine::Init(argc, argv); |
// Needed to enable DVLOG through --vmodule. |
- CHECK(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; |
+ CHECK(logging::InitLogging(settings)); |
CommandLine* cmd_line = CommandLine::ForCurrentProcess(); |
DCHECK(cmd_line); |