Index: chrome/installer/util/delete_tree_work_item.cc |
diff --git a/chrome/installer/util/delete_tree_work_item.cc b/chrome/installer/util/delete_tree_work_item.cc |
index 9cc47ede0058478f9fa718f5d36be482358cfab5..cba908e54d0a5936e5ee4bcd4d65689b2860c34f 100644 |
--- a/chrome/installer/util/delete_tree_work_item.cc |
+++ b/chrome/installer/util/delete_tree_work_item.cc |
@@ -17,8 +17,8 @@ namespace { |
template<typename L, typename R> |
bool SafeCast(L left, R* right) { |
DCHECK(right); |
- COMPILE_ASSERT(sizeof(left) == sizeof(right), |
- must_add_support_for_crazy_data_types); |
+ static_assert(sizeof(left) == sizeof(right), |
+ "must add support for crazy data types"); |
if (left > static_cast<L>(std::numeric_limits<R>::max())) |
return false; |
*right = static_cast<L>(left); |