Index: third_party/WebKit/Source/wtf/HashMap.h |
diff --git a/third_party/WebKit/Source/wtf/HashMap.h b/third_party/WebKit/Source/wtf/HashMap.h |
index 6bfed3451c2e07915d47be037cf9a874dc25c138..ac75e2762b6ad8db57d76401329b1f502777c3da 100644 |
--- a/third_party/WebKit/Source/wtf/HashMap.h |
+++ b/third_party/WebKit/Source/wtf/HashMap.h |
@@ -97,6 +97,11 @@ public: |
unsigned size() const; |
unsigned capacity() const; |
+ void reserveCapacityForSize(unsigned size) |
+ { |
+ m_impl.reserveCapacityForSize(size); |
+ } |
+ |
bool isEmpty() const; |
// iterators iterate over pairs of keys and values |