[heap] Hide MemoryReducer inside the heap component.
authormstarzinger <mstarzinger@chromium.org>
Thu, 20 Aug 2015 16:48:37 +0000 (09:48 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 20 Aug 2015 16:48:51 +0000 (16:48 +0000)
commitde57a6c0609aa9ab43cea474d252178ba044d448
tree8ea69bd2ab489096499d87d69511a6bc1e0abe1b
parent1a3c7e2fb139e23abcb5de9124734ebdf40ebd5a
[heap] Hide MemoryReducer inside the heap component.

This prevents leakage of the memory-reducer.h declarations inside of the
heap and prevents it from being exposed to the world. Protects private
state from being inadvertently mocked with.

R=mlippautz@chromium.org

Review URL: https://codereview.chromium.org/1288913003

Cr-Commit-Position: refs/heads/master@{#30277}
src/heap/heap.cc
src/heap/heap.h