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

Unified Diff: base/debug/activity_analyzer.cc

Issue 2387733002: Move memory management code into separate class for future reuse. (Closed)
Patch Set: added comment and tests Created 4 years, 2 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 | « no previous file | base/debug/activity_tracker.h » ('j') | base/debug/activity_tracker.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/activity_analyzer.cc
diff --git a/base/debug/activity_analyzer.cc b/base/debug/activity_analyzer.cc
index 79d513b5af6c61a64b2ab4d0188c51db8fe2b329..4254df03a0191a81eaf12b88c6e94a3ceff30d08 100644
--- a/base/debug/activity_analyzer.cc
+++ b/base/debug/activity_analyzer.cc
@@ -90,7 +90,7 @@ void GlobalActivityAnalyzer::PrepareAllAnalyzers() {
while ((ref = allocator_iterator_.GetNext(&type)) != 0) {
switch (type) {
case GlobalActivityTracker::kTypeIdActivityTracker:
- case GlobalActivityTracker::kTypeIdActivityTrackerFree:
+ case ~GlobalActivityTracker::kTypeIdActivityTracker:
// Free or not, add it to the list of references for later analysis.
tracker_references_.insert(ref);
break;
« no previous file with comments | « no previous file | base/debug/activity_tracker.h » ('j') | base/debug/activity_tracker.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698