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

Unified Diff: cc/resources/prioritized_resource_manager.h

Issue 13051003: cpplint.py pass on cc/(base|debug|quads|resources)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix prioritized_resource_unittest Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/picture_pile_impl.cc ('k') | cc/resources/prioritized_resource_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/prioritized_resource_manager.h
diff --git a/cc/resources/prioritized_resource_manager.h b/cc/resources/prioritized_resource_manager.h
index b1f013dc084044ab2ed7bd50e04b69ff80a20f85..51571fe493f76ee67831ac9244abade4f44db7d2 100644
--- a/cc/resources/prioritized_resource_manager.h
+++ b/cc/resources/prioritized_resource_manager.h
@@ -47,7 +47,7 @@ class CC_EXPORT PrioritizedResourceManager {
typedef std::list<PrioritizedResource::Backing*> BackingList;
- // TODO (epenner): (http://crbug.com/137094) This 64MB default is a straggler
+ // TODO(epenner): (http://crbug.com/137094) This 64MB default is a straggler
// from the old texture manager and is just to give us a default memory
// allocation before we get a callback from the GPU memory manager. We
// should probaby either:
@@ -171,7 +171,7 @@ class CC_EXPORT PrioritizedResourceManager {
return a < b;
}
- PrioritizedResourceManager(const Proxy* proxy);
+ explicit PrioritizedResourceManager(const Proxy* proxy);
bool EvictBackingsToReduceMemory(size_t limit_bytes,
int priority_cutoff,
« no previous file with comments | « cc/resources/picture_pile_impl.cc ('k') | cc/resources/prioritized_resource_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698