Chromium Code Reviews| Index: src/allocation.h |
| diff --git a/src/allocation.h b/src/allocation.h |
| index 69e72bdbad38e30e73d719fd693063c8e2eb5635..31067dda8196feed86a36c172f71e71adc8c0b85 100644 |
| --- a/src/allocation.h |
| +++ b/src/allocation.h |
| @@ -80,7 +80,7 @@ class AllStatic { |
| template <typename T> |
| -T* NewArray(int size) { |
| +T* NewArray(size_t size) { |
| T* result = new T[size]; |
| if (result == NULL) Malloced::FatalProcessOutOfMemory(); |
| return result; |