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 eac2b9912e346aa26f1abc13cb09212215d214ad..1593a19fff395be49fa171acece6873609e7b47b 100644 |
--- a/third_party/WebKit/Source/wtf/HashMap.h |
+++ b/third_party/WebKit/Source/wtf/HashMap.h |
@@ -98,6 +98,11 @@ namespace WTF { |
unsigned capacity() const; |
bool isEmpty() const; |
+ void reserveCapacityForSize(unsigned size) |
+ { |
+ m_impl.reserveCapacityForSize(size); |
+ } |
+ |
// iterators iterate over pairs of keys and values |
iterator begin(); |
iterator end(); |