Index: ui/views/examples/content_client/examples_main_delegate.cc |
diff --git a/ui/views/examples/content_client/examples_main_delegate.cc b/ui/views/examples/content_client/examples_main_delegate.cc |
index 0d1724955adb9f1ad36ba42a6aa9732053da1388..c6241e9081084a7a29c0302dcc675f8a29112246 100644 |
--- a/ui/views/examples/content_client/examples_main_delegate.cc |
+++ b/ui/views/examples/content_client/examples_main_delegate.cc |
@@ -45,11 +45,9 @@ bool ExamplesMainDelegate::BasicStartupComplete(int* exit_code) { |
content::SetContentClient(&content_client_); |
- bool success = logging::InitLogging(NULL, |
- logging::LOG_ONLY_TO_SYSTEM_DEBUG_LOG, |
- logging::LOCK_LOG_FILE, |
- logging::DELETE_OLD_LOG_FILE, |
- logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS); |
+ logging::LoggingSettings settings; |
+ settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG; |
+ bool success = logging::InitLogging(settings); |
CHECK(success); |
#if defined(OS_WIN) |
logging::LogEventProvider::Initialize(kViewsExamplesProviderName); |