diff options
author | reveman <reveman@chromium.org> | 2015-04-06 13:11:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-04-06 20:11:57 +0000 |
commit | 59d32f501694975c4011ea85a67060a41140d0f4 (patch) | |
tree | 44ddd87b92e92cd0c95e2e6a8a60fe7a1240a892 /gpu/OWNERS | |
parent | 58368d3ea55f26f5eb98a76cb7985f580f23ff8c (diff) | |
download | chromium_src-59d32f501694975c4011ea85a67060a41140d0f4.zip chromium_src-59d32f501694975c4011ea85a67060a41140d0f4.tar.gz chromium_src-59d32f501694975c4011ea85a67060a41140d0f4.tar.bz2 |
Re-land: base: Replace PurgeAndTruncate with Shrink function.
This cleans up the API a bit and allows the code to be unit tested.
This also prevents ftruncate from being used on Android where
shared memory is backed by Ashmem. Ashmem doesn't support ftruncate.
BUG=466509
TEST=base_unittests --gtest_filter=DiscardableSharedMemoryTest.Shrink
Review URL: https://codereview.chromium.org/1018743003
Cr-Commit-Position: refs/heads/master@{#323941}
Diffstat (limited to 'gpu/OWNERS')
0 files changed, 0 insertions, 0 deletions