| Index: sandbox/linux/tests/scoped_temporary_file.cc
|
| diff --git a/sandbox/linux/tests/scoped_temporary_file.cc b/sandbox/linux/tests/scoped_temporary_file.cc
|
| index 82df9e0e5982377f8eb1615b9627f6f2858e72c6..1f2d66fd6ba278a38817bb2b8358a200042abf04 100644
|
| --- a/sandbox/linux/tests/scoped_temporary_file.cc
|
| +++ b/sandbox/linux/tests/scoped_temporary_file.cc
|
| @@ -20,8 +20,8 @@ ScopedTemporaryFile::ScopedTemporaryFile() : fd_(-1) {
|
| #else
|
| static const char file_template[] = "/tmp/ScopedTempFileXXXXXX";
|
| #endif // defined(OS_ANDROID)
|
| - COMPILE_ASSERT(sizeof(full_file_name_) >= sizeof(file_template),
|
| - full_file_name_is_large_enough);
|
| + static_assert(sizeof(full_file_name_) >= sizeof(file_template),
|
| + "full_file_name is not large enough");
|
| memcpy(full_file_name_, file_template, sizeof(file_template));
|
| fd_ = mkstemp(full_file_name_);
|
| CHECK_LE(0, fd_);
|
|
|