Index: base/test/test_support_android.cc |
diff --git a/base/test/test_support_android.cc b/base/test/test_support_android.cc |
index 5180333e857f9fc2977a5fa72a8c9b0af5f5e31c..e0443227411127d455c7dc65d8cccbf1279b72dc 100644 |
--- a/base/test/test_support_android.cc |
+++ b/base/test/test_support_android.cc |
@@ -165,11 +165,9 @@ void InitPathProvider(int key) { |
namespace base { |
void InitAndroidTestLogging() { |
- logging::InitLogging(NULL, |
- logging::LOG_ONLY_TO_SYSTEM_DEBUG_LOG, |
- logging::DONT_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; |
+ logging::InitLogging(settings); |
// To view log output with IDs and timestamps use "adb logcat -v threadtime". |
logging::SetLogItems(false, // Process ID |
false, // Thread ID |