Home | History | Annotate | Download | only in browser

Lines Matching refs:renderers

183 void WebCacheManager::GatherStats(const std::set<int>& renderers,
189 std::set<int>::const_iterator iter = renderers.begin();
190 while (iter != renderers.end()) {
247 // renderers.
250 // The inactive renderers get one share of the extra memory to be divided
258 // The remaining memory is allocated to the active renderers.
269 void WebCacheManager::AddToStrategy(const std::set<int>& renderers,
275 // Nothing to do if there are no renderers. It is common for there to be no
276 // inactive renderers if there is a single active tab.
277 if (renderers.empty())
280 // Divide the extra memory evenly among the renderers.
281 size_t extra_each = extra_bytes_to_allocate / renderers.size();
283 std::set<int>::const_iterator iter = renderers.begin();
284 while (iter != renderers.end()) {
328 const std::set<int>& renderers,
330 std::set<int>::const_iterator iter = renderers.begin();
331 for (; iter != renderers.end(); ++iter) {
343 // Check if renderers have gone inactive.
374 // We always try to give the active renderers some head room in their
381 if ( // Ideally, we'd like to give the active renderers some headroom and
386 // the caches of inactive renderers.
391 // renderers.
395 // to at least keep around the live objects for the active renderers.