DescriptionRevert of base: Replace PurgeAndTruncate with Shrink function. (patchset #5 id:80001 of https://codereview.chromium.org/1018743003/)
Reason for revert:
Suspecting that this might be related to crbug.com/471188.
Original issue's description:
> 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
>
> Committed: https://crrev.com/2d15df9ef3f9b982aef650d0be0be64a1c5d34a5
> Cr-Commit-Position: refs/heads/master@{#322207}
TBR=avi@chromium.org,danakj@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=466509
Committed: https://crrev.com/f2580f56cb770069af82eb10e8e2a58a2f4f72d7
Cr-Commit-Position: refs/heads/master@{#323240}
Patch Set 1 #
Created: 5 years, 8 months ago
(Patch set is too large to download)
Messages
Total messages: 4 (0 generated)
|