diff options
Diffstat (limited to 'components/browser_watcher')
-rw-r--r-- | components/browser_watcher/watcher_metrics_provider_win.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/browser_watcher/watcher_metrics_provider_win.cc b/components/browser_watcher/watcher_metrics_provider_win.cc index 53fb44f..0f94738 100644 --- a/components/browser_watcher/watcher_metrics_provider_win.cc +++ b/components/browser_watcher/watcher_metrics_provider_win.cc @@ -23,8 +23,8 @@ void CompileAsserts() { // and parsing, this code uses int. In practice there are no process IDs with // the high bit set on Windows, so there's no danger of overflow if this is // done consistently. - COMPILE_ASSERT(sizeof(DWORD) == sizeof(int), - process_ids_have_outgrown_an_int); + static_assert(sizeof(DWORD) == sizeof(int), + "process ids are expected to be no larger than int"); } // This function does soft matching on the PID recorded in the key only. |