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 dcb8d1ebc001556c9ddc1afce01dab125c6d544f..404f0857561cde4be4024555d80d72125a5f8aa1 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), |
+ "Items SafeCast is used with must be of the same size"); |
if (left > static_cast<L>(std::numeric_limits<R>::max())) |
return false; |
*right = static_cast<L>(left); |