Index: content/common/mru_cache.h |
diff --git a/content/common/mru_cache.h b/content/common/mru_cache.h |
index 4c555767e85f30eef2b3af9dab8cecbd271e97e8..6e94b92e28c1ef068b21eeeb77cc151310f5db2c 100644 |
--- a/content/common/mru_cache.h |
+++ b/content/common/mru_cache.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -57,6 +57,10 @@ class MRUCacheBase { |
explicit MRUCacheBase(size_type max_size) : max_size_(max_size) { |
} |
+ MRUCacheBase(size_type max_size, const DeletorType& deletor) |
+ : max_size_(max_size), deletor_(deletor) { |
+ } |
+ |
virtual ~MRUCacheBase() { |
iterator i = begin(); |
while (i != end()) |