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

Unified Diff: src/zone/zone.cc

Issue 2348303002: Replaced different means of zone pooling/reusing by one zone segment pool (Closed)
Patch Set: Merge branch 'zonesegpool' into onezonepool Created 4 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
Index: src/zone/zone.cc
diff --git a/src/zone/zone.cc b/src/zone/zone.cc
index 8054bdc7816e48150f395b5a11975bc7142f98e9..92d656c9e2f5a5fd5db7df4f7e6a2e694a86936d 100644
--- a/src/zone/zone.cc
+++ b/src/zone/zone.cc
@@ -105,9 +105,7 @@ void Zone::DeleteAll() {
}
position_ = limit_ = 0;
-
allocation_size_ = 0;
- // Update the head segment to be the kept segment (if any).
segment_head_ = nullptr;
}

Powered by Google App Engine
This is Rietveld 408576698