diff options
author | nileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-29 19:56:33 +0000 |
---|---|---|
committer | nileshagrawal@chromium.org <nileshagrawal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-29 19:56:33 +0000 |
commit | 5b69209bd2205a812df2e27378b897fb0475a573 (patch) | |
tree | 8b7bbf93175096e20fb4769c02611bfa18694417 | |
parent | b6c547cdd1af8c6abb3aad6608bc274245ebd9a3 (diff) | |
download | chromium_src-5b69209bd2205a812df2e27378b897fb0475a573.zip chromium_src-5b69209bd2205a812df2e27378b897fb0475a573.tar.gz chromium_src-5b69209bd2205a812df2e27378b897fb0475a573.tar.bz2 |
Fix a failing DCHECK in MetricsLogManager.
StoreStagedLogAsUnsent can be called with a NULL staged_log_.
(when compressed_staged_log_text_ is not empty). Modifying the
expectation to reflect that.
BUG=
TEST=
Review URL: http://codereview.chromium.org/8729015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111999 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/common/metrics_log_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/metrics_log_manager.cc b/chrome/common/metrics_log_manager.cc index cedd7bc..37a9e4b 100644 --- a/chrome/common/metrics_log_manager.cc +++ b/chrome/common/metrics_log_manager.cc @@ -55,7 +55,7 @@ void MetricsLogManager::ResumePausedLog() { } void MetricsLogManager::StoreStagedLogAsUnsent(LogType log_type) { - DCHECK(staged_log_.get()); + DCHECK(has_staged_log()); // If compressing the log failed, there's nothing to store. if (compressed_staged_log_text_.empty()) return; |