tcmalloc: GTTF: cherry-pick memalign/realloc mismatch debug code

Original CL:

- https://codereview.chromium.org/11823061

  GTTF: cherry-pick memalign/realloc mismatch debug code

  Especially ffmpeg may be prone to errors in this area.

  Googlers: see b/1397952 for reference.

  BUG=30715
  Committed:
  https://src.chromium.org/viewvc/chrome?view=rev&revision=177171

BUG=724399,b:70905156

Change-Id: Iac78c1c49014a0454eacb651f549001e76c0cf93
Reviewed-on: https://chromium-review.googlesource.com/1130799
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Gabriel Marin <gmx@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#595638}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ec6d08fab91778cfd690913986e72422701a1968
1 file changed
tree: 593e1d17de8a6150cf98bc040484fa79ccd0f993
  1. src/