[Mac] Remove NSURLCache logic from WebCore pressure relief code.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Mar 2014 18:08:19 +0000 (18:08 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Mar 2014 18:08:19 +0000 (18:08 +0000)
commit27ecdf39caa22851c10838d8dc2572ef3d4fd657
tree9656393bcfecbae751bcdf259df43e7312d3b072
parent9bb3a19fe3c951973a17e76752cc5a7d4e3613b5
[Mac] Remove NSURLCache logic from WebCore pressure relief code.
<https://webkit.org/b/130248>

The NSURLCache lives in the networking process and should be cleared
on that end. Furthermore, this code doesn't really do what we thought
it was doing; it merely sets and and resets the limits. No truncation
ever occurred. The intended functionality was implemented in r165342.

Reviewed by Anders Carlsson.

* platform/mac/MemoryPressureHandlerMac.mm:
(WebCore::MemoryPressureHandler::releaseMemory):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@165631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/mac/MemoryPressureHandlerMac.mm