diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 02:58:24 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-01 02:58:24 +0000 |
commit | d926c20f2588d7967a723f7454a0007740db0bc7 (patch) | |
tree | e0f03ba7b2e3b575134414f0155e9572960b0b0c /base/leak_tracker.h | |
parent | 2c3229ecedf2c3e86f041676d5974e1133e4f6e0 (diff) | |
download | chromium_src-d926c20f2588d7967a723f7454a0007740db0bc7.zip chromium_src-d926c20f2588d7967a723f7454a0007740db0bc7.tar.gz chromium_src-d926c20f2588d7967a723f7454a0007740db0bc7.tar.bz2 |
Revert 61142 - Made logging macros evaluate its stream arguments lazily.
Also added logging unittests.
BUG=57383
TEST=logging_unittest.cc
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=61127
Review URL: http://codereview.chromium.org/3575008
TBR=akalin@chromium.org
Review URL: http://codereview.chromium.org/3527004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61143 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/leak_tracker.h')
-rw-r--r-- | base/leak_tracker.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/leak_tracker.h b/base/leak_tracker.h index 96d8773..dd85ff6 100644 --- a/base/leak_tracker.h +++ b/base/leak_tracker.h @@ -91,7 +91,7 @@ class LeakTracker : public LinkNode<LeakTracker<T> > { ++count; LOG(ERROR) << "Leaked " << node << " which was allocated by:"; - allocation_stack.OutputToStream(&LOG_STREAM(ERROR)); + allocation_stack.OutputToStream(&LOG(ERROR)); } CHECK_EQ(0u, count); |