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

Unified Diff: src/list-inl.h

Issue 1289553002: Make list constructor usable without list-inl.h header. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-includes-inl-1
Patch Set: Created 5 years, 4 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 | « src/list.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/list-inl.h
diff --git a/src/list-inl.h b/src/list-inl.h
index 47653ef145bdc0ae2b53a2a2004d4c96506672ee..94ef14dbaedba2f1ef1f76f02ae2e563880d0219 100644
--- a/src/list-inl.h
+++ b/src/list-inl.h
@@ -245,15 +245,6 @@ void List<T, P>::StableSort() {
}
-template <typename T, class P>
-void List<T, P>::Initialize(int capacity, P allocator) {
- DCHECK(capacity >= 0);
- data_ = (capacity > 0) ? NewData(capacity, allocator) : NULL;
- capacity_ = capacity;
- length_ = 0;
-}
-
-
template <typename T, typename P>
int SortedListBSearch(const List<T>& list, P cmp) {
int low = 0;
« no previous file with comments | « src/list.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698