| Index: base/win/iat_patch_function.cc
|
| diff --git a/base/win/iat_patch_function.cc b/base/win/iat_patch_function.cc
|
| index 31659c6c82dc872e3496cd1d85e763d28fc3c329..52976c73eb325c907edab28ac814c62ab292b5c9 100644
|
| --- a/base/win/iat_patch_function.cc
|
| +++ b/base/win/iat_patch_function.cc
|
| @@ -67,8 +67,9 @@ bool InterceptEnumCallback(const base::win::PEImage& image, const char* module,
|
| }
|
|
|
| // portability check
|
| - COMPILE_ASSERT(sizeof(iat->u1.Function) ==
|
| - sizeof(intercept_information->new_function), unknown_IAT_thunk_format);
|
| + static_assert(
|
| + sizeof(iat->u1.Function) == sizeof(intercept_information->new_function),
|
| + "unknown_IAT_thunk_format");
|
|
|
| // Patch the function.
|
| intercept_information->return_code =
|
|
|