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 { |