summaryrefslogtreecommitdiffstats
path: root/chrome/tools
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-07 21:53:05 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-07 21:53:05 +0000
commitbf97033addc8e72499652f64886ef89c7b062c39 (patch)
treec20ae214eb4ffe605e0292299e1e93935272e482 /chrome/tools
parent8ffd052ba929d94eb587e4d55efc74557cd7454d (diff)
downloadchromium_src-bf97033addc8e72499652f64886ef89c7b062c39.zip
chromium_src-bf97033addc8e72499652f64886ef89c7b062c39.tar.gz
chromium_src-bf97033addc8e72499652f64886ef89c7b062c39.tar.bz2
Revert 70782 - Made logging not look up --enable-dcheck from command line
Made --enable-dcheck a parameter to InitLogging() and fixed up all callsites. BUG=62736 TEST=Manual Review URL: http://codereview.chromium.org/6070006 TBR=akalin@chromium.org Review URL: http://codereview.chromium.org/6100007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70783 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
-rw-r--r--chrome/tools/crash_service/main.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/chrome/tools/crash_service/main.cc b/chrome/tools/crash_service/main.cc
index b9cabec6..4a8e56a 100644
--- a/chrome/tools/crash_service/main.cc
+++ b/chrome/tools/crash_service/main.cc
@@ -45,12 +45,8 @@ int __stdcall wWinMain(HINSTANCE instance, HINSTANCE, wchar_t* cmd_line,
FilePath log_file = operating_dir.Append(kStandardLogFile);
// Logging to a file with pid, tid and timestamp.
- logging::InitLogging(
- log_file.value().c_str(),
- logging::LOG_ONLY_TO_FILE,
- logging::LOCK_LOG_FILE,
- logging::APPEND_TO_OLD_LOG_FILE,
- logging::DISABLE_DCHECK_FOR_NON_OFFICIAL_RELEASE_BUILDS);
+ logging::InitLogging(log_file.value().c_str(), logging::LOG_ONLY_TO_FILE,
+ logging::LOCK_LOG_FILE, logging::APPEND_TO_OLD_LOG_FILE);
logging::SetLogItems(true, true, true, false);
VLOG(1) << "session start. cmdline is [" << cmd_line << "]";