Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(663)

Unified Diff: base/leak_tracker.h

Issue 3575008: Made logging macros evaluate its stream arguments lazily. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Fixed more problems, added more comments/tests Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/base.gyp ('k') | base/logging.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/leak_tracker.h
diff --git a/base/leak_tracker.h b/base/leak_tracker.h
index dd85ff6216f6ae3e7a8e389bd529a5f8a2befe7e..96d8773cb6fa94da891555b96bdee6b8e345e330 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(ERROR));
+ allocation_stack.OutputToStream(&LOG_STREAM(ERROR));
}
CHECK_EQ(0u, count);
« no previous file with comments | « base/base.gyp ('k') | base/logging.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698