Chromium Code Reviews| Index: src/ast.h |
| diff --git a/src/ast.h b/src/ast.h |
| index e457e66a215f1aed49d48e5c54ffed107b29cca9..0229880b799138ef2e6af5e70a5277c4ccb20843 100644 |
| --- a/src/ast.h |
| +++ b/src/ast.h |
| @@ -200,9 +200,7 @@ class AstNode: public ZoneObject { |
| }; |
| #undef DECLARE_TYPE_ENUM |
| - void* operator new(size_t size, Zone* zone) { |
| - return zone->New(static_cast<int>(size)); |
| - } |
| + void* operator new(size_t size, Zone* zone) { return zone->New(size); } |
| explicit AstNode(int position): position_(position) {} |
| virtual ~AstNode() {} |