Commit 9947d195 authored by gavinp's avatar gavinp Committed by Commit bot

Simple Cache Perftests: properly restore FD limit.

Fix typo in cache perftests.

BUG=none
R=jkarlin@chromium.org

Review-Url: https://codereview.chromium.org/2622013002
Cr-Commit-Position: refs/heads/master@{#442930}
parent bacc700b
...@@ -62,7 +62,7 @@ class DiskCachePerfTest : public DiskCacheTestWithCache { ...@@ -62,7 +62,7 @@ class DiskCachePerfTest : public DiskCacheTestWithCache {
~DiskCachePerfTest() override { ~DiskCachePerfTest() override {
if (saved_fd_limit_ < kFdLimitForCacheTests) if (saved_fd_limit_ < kFdLimitForCacheTests)
MaybeSetFdLimit(kFdLimitForCacheTests); MaybeSetFdLimit(saved_fd_limit_);
} }
protected: protected:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment