Index: cc/resources/tile_manager.h |
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h |
index f1d00fee884078742f669ac463371c3c3790f814..29825b3a4233feae608de96ce75cd34e679d87fc 100644 |
--- a/cc/resources/tile_manager.h |
+++ b/cc/resources/tile_manager.h |
@@ -99,8 +99,9 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient, |
// rasterizer.h |
}; |
- COMPILE_ASSERT(NamedTaskSet::ALL == (kNumberOfTaskSets - 1), |
- NamedTaskSet_ALL_not_kNumberOfTaskSets_minus_1); |
+ static_assert(NamedTaskSet::ALL == (kNumberOfTaskSets - 1), |
+ "NamedTaskSet::ALL should be equal to kNumberOfTaskSets" |
+ "minus 1"); |
static scoped_ptr<TileManager> Create(TileManagerClient* client, |
base::SequencedTaskRunner* task_runner, |