Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Side by Side Diff: cc/resources/prioritized_resource_manager.cc

Issue 660333004: cc cleanup: Update paths to geometry headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/resources/prioritized_resource_manager.h ('k') | cc/resources/priority_calculator.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/resources/prioritized_resource_manager.h" 5 #include "cc/resources/prioritized_resource_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "base/stl_util.h"
11 #include "cc/resources/prioritized_resource.h" 10 #include "cc/resources/prioritized_resource.h"
12 #include "cc/resources/priority_calculator.h" 11 #include "cc/resources/priority_calculator.h"
13 #include "cc/trees/proxy.h" 12 #include "cc/trees/proxy.h"
14 13
15 namespace cc { 14 namespace cc {
16 15
17 PrioritizedResourceManager::PrioritizedResourceManager(const Proxy* proxy) 16 PrioritizedResourceManager::PrioritizedResourceManager(const Proxy* proxy)
18 : max_memory_limit_bytes_(DefaultMemoryAllocationLimit()), 17 : max_memory_limit_bytes_(DefaultMemoryAllocationLimit()),
19 external_priority_cutoff_(PriorityCalculator::AllowEverythingCutoff()), 18 external_priority_cutoff_(PriorityCalculator::AllowEverythingCutoff()),
20 memory_use_bytes_(0), 19 memory_use_bytes_(0),
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 previous_backing = backing; 541 previous_backing = backing;
543 } 542 }
544 #endif // DCHECK_IS_ON 543 #endif // DCHECK_IS_ON
545 } 544 }
546 545
547 const Proxy* PrioritizedResourceManager::ProxyForDebug() const { 546 const Proxy* PrioritizedResourceManager::ProxyForDebug() const {
548 return proxy_; 547 return proxy_;
549 } 548 }
550 549
551 } // namespace cc 550 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resources/prioritized_resource_manager.h ('k') | cc/resources/priority_calculator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698