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

Unified Diff: src/list-inl.h

Issue 2366283003: Remove runtime zone. (Closed)
Patch Set: Reaction to comments 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
Index: src/list-inl.h
diff --git a/src/list-inl.h b/src/list-inl.h
index 9a2d11f96aae5481956de81b58428fceb1aa8381..9a71f246be83dbcfa4a6c2c5e0040c59d9f590f7 100644
--- a/src/list-inl.h
+++ b/src/list-inl.h
@@ -142,11 +142,6 @@ void List<T, P>::Allocate(int length, P allocator) {
template<typename T, class P>
void List<T, P>::Clear() {
jgruber 2016/10/04 11:23:32 Is this left over from local experiments? Clear sh
- DeleteData(data_);
- // We don't call Initialize(0) since that requires passing a Zone,
- // which we don't really need.
- data_ = NULL;
- capacity_ = 0;
length_ = 0;
}

Powered by Google App Engine
This is Rietveld 408576698