Flate: skia_alloc_func works on both miniz and zlib
authorhalcanary <halcanary@google.com>
Fri, 27 Feb 2015 21:09:07 +0000 (13:09 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 27 Feb 2015 21:09:07 +0000 (13:09 -0800)
commit394ce76992e2e8349af64ab99d6e2e702bae735d
tree502044b8d7bee85e0abf75c765efe67cf3190ab0
parentd4c7d55594d94a00b6cecf6b2fdbb811836ce2ff
Flate: skia_alloc_func works on both miniz and zlib

Also, Revert "Revert of Flate: fix valgrind miniz
Conditional-jump-or-move-depends... error"

This reverts commit 6dc4ef01a656a9f7c3087eec2ff5142c707ceb7f.

The alloc functions really do have different types depending
on zlib implementation.

CQ_INCLUDE_TRYBOTS=client.skia:Linux Builder-Trybot

Review URL: https://codereview.chromium.org/963853002
src/core/SkFlate.cpp