Chromium Code Reviews| Index: src/list.h |
| diff --git a/src/list.h b/src/list.h |
| index 1fe9067631c972e1afeb79767bfbcf1214140626..6946b332c5e3935923a5a1348803ebc68b952e40 100644 |
| --- a/src/list.h |
| +++ b/src/list.h |
| @@ -95,6 +95,8 @@ class List { |
| // Drops all but the first 'pos' elements from the list. |
| INLINE(void Rewind(int pos)); |
| + bool Contains(T& elm); |
| + |
| // Iterate through all list entries, starting at index 0. |
| void Iterate(void (*callback)(T* x)); |