summaryrefslogtreecommitdiffstats
path: root/cc/prioritized_resource_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/prioritized_resource_manager.cc')
-rw-r--r--cc/prioritized_resource_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/prioritized_resource_manager.cc b/cc/prioritized_resource_manager.cc
index ba32324..9153440 100644
--- a/cc/prioritized_resource_manager.cc
+++ b/cc/prioritized_resource_manager.cc
@@ -15,9 +15,9 @@ using namespace std;
namespace cc {
-PrioritizedResourceManager::PrioritizedResourceManager(size_t maxMemoryLimitBytes, int, int pool, const Proxy* proxy)
+PrioritizedResourceManager::PrioritizedResourceManager(int pool, const Proxy* proxy)
: m_proxy(proxy)
- , m_maxMemoryLimitBytes(maxMemoryLimitBytes)
+ , m_maxMemoryLimitBytes(defaultMemoryAllocationLimit())
, m_externalPriorityCutoff(PriorityCalculator::allowEverythingCutoff())
, m_memoryUseBytes(0)
, m_memoryAboveCutoffBytes(0)