commit | e03e7f7b023648a5f38141ee8c2d40c5761d6fcf | [log] [tgz] |
---|---|---|
author | hans <hans@chromium.org> | Wed May 20 02:03:14 2015 +0900 |
committer | Qijiang Fan <fqj@google.com> | Thu Jun 04 18:57:19 2020 +0900 |
tree | 32ca1c973bc1536aa7bf2845d0c01a3bb1a16079 | |
parent | a84194897aafdecf072ab042150b5cee5888acbb [diff] |
Work around Clang's new -Wmismatched-new-delete warning. In r237368, Clang started warning about mismatched operator new[] and delete calls. This pacifies the warning by moving the operator new-call to a separate function. BUG=none Review URL: https://codereview.chromium.org/1131513006 Cr-Commit-Position: refs/heads/master@{#330528} CrOS-Libchrome-Original-Commit: cd4cce344c866b73cd7d883423f4568ab6910456