Index: chrome/browser/predictors/autocomplete_action_predictor.cc |
diff --git a/chrome/browser/predictors/autocomplete_action_predictor.cc b/chrome/browser/predictors/autocomplete_action_predictor.cc |
index ff7b0fe7b00723743f015e2ed0841c852ac89a86..b5e3aa81876d56f6e0938c6aac362a0783bc76b4 100644 |
--- a/chrome/browser/predictors/autocomplete_action_predictor.cc |
+++ b/chrome/browser/predictors/autocomplete_action_predictor.cc |
@@ -44,9 +44,9 @@ const float kConfidenceCutoff[] = { |
0.5f |
}; |
-COMPILE_ASSERT(arraysize(kConfidenceCutoff) == |
- predictors::AutocompleteActionPredictor::LAST_PREDICT_ACTION, |
- ConfidenceCutoff_count_mismatch); |
+static_assert(arraysize(kConfidenceCutoff) == |
+ predictors::AutocompleteActionPredictor::LAST_PREDICT_ACTION, |
+ "kConfidenceCutoff count should match LAST_PREDICT_ACTION"); |
const size_t kMinimumUserTextLength = 1; |
const int kMinimumNumberOfHits = 3; |