| Index: base/files/file_win.cc
|
| diff --git a/base/files/file_win.cc b/base/files/file_win.cc
|
| index 2d75ca2f57be98205402365e8c563110747e2f23..c2cc3abb8621ecfa6c369c190ec4806f10a9ab04 100644
|
| --- a/base/files/file_win.cc
|
| +++ b/base/files/file_win.cc
|
| @@ -13,9 +13,10 @@
|
| namespace base {
|
|
|
| // Make sure our Whence mappings match the system headers.
|
| -COMPILE_ASSERT(File::FROM_BEGIN == FILE_BEGIN &&
|
| - File::FROM_CURRENT == FILE_CURRENT &&
|
| - File::FROM_END == FILE_END, whence_matches_system);
|
| +static_assert(File::FROM_BEGIN == FILE_BEGIN &&
|
| + File::FROM_CURRENT == FILE_CURRENT &&
|
| + File::FROM_END == FILE_END,
|
| + "whence mapping must match the system headers");
|
|
|
| bool File::IsValid() const {
|
| return file_.IsValid();
|
|
|