| Index: components/browser_watcher/watcher_metrics_provider_win.cc
|
| diff --git a/components/browser_watcher/watcher_metrics_provider_win.cc b/components/browser_watcher/watcher_metrics_provider_win.cc
|
| index 53fb44f22c1efaac3cdb3c93087b9348087be71c..0f94738ac50b8c746926ba276d32835eb4f57af5 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.
|
|
|