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

Unified Diff: cc/resources/tile_priority.cc

Issue 377793003: Consider occluded tiles during eviction with occluded as Tile property. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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/tile_priority.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_priority.cc
diff --git a/cc/resources/tile_priority.cc b/cc/resources/tile_priority.cc
index 3bf29680766bd782d3ac414a3b47f55d60851c96..425e4edb5dabedad493cdd4ca907a43735d2cd35 100644
--- a/cc/resources/tile_priority.cc
+++ b/cc/resources/tile_priority.cc
@@ -94,10 +94,10 @@ scoped_ptr<base::Value> TreePriorityAsValue(TreePriority prio) {
case NEW_CONTENT_TAKES_PRIORITY:
return scoped_ptr<base::Value>(new base::StringValue(
"NEW_CONTENT_TAKES_PRIORITY"));
+ default:
+ DCHECK(false) << "Unrecognized priority value " << prio;
+ return scoped_ptr<base::Value>(new base::StringValue("<unknown>"));
}
- DCHECK(false) << "Unrecognized priority value " << prio;
- return scoped_ptr<base::Value>(new base::StringValue(
- "<unknown>"));
}
scoped_ptr<base::Value> GlobalStateThatImpactsTilePriority::AsValue() const {
« no previous file with comments | « cc/resources/tile_priority.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698