base: Use LazyInstanceTraits instead of SharedState class for discardable memory.
commit31f0530105bfc993e7d949a4a33bc70bb023acb1
authorreveman <reveman@chromium.org>
Wed, 15 Oct 2014 20:28:54 +0000 (15 13:28 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 15 Oct 2014 20:29:46 +0000 (15 20:29 +0000)
tree301def776809f4268ab994ff4ea04316c6bce748
parente83b4651dd1c9fc4e0f6f21d74627a52cf4a8782
base: Use LazyInstanceTraits instead of SharedState class for discardable memory.

Switch to using LazyInstanceTraits instead of classes named SharedState
for the purpose of initializing a DiscardableMemoryManager instance
with a certain set of parameters.

BUG=422953

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

Cr-Commit-Position: refs/heads/master@{#299756}
base/memory/discardable_memory_emulated.cc
base/memory/discardable_memory_mach.cc