| Index: extensions/browser/api/cast_channel/logger.cc
|
| diff --git a/extensions/browser/api/cast_channel/logger.cc b/extensions/browser/api/cast_channel/logger.cc
|
| index 0e31b8fe986f4ba0bd07dabd43fbde15d28f1480..9390210bdce6ab66961d4d0ea27d51731ca13cf9 100644
|
| --- a/extensions/browser/api/cast_channel/logger.cc
|
| +++ b/extensions/browser/api/cast_channel/logger.cc
|
| @@ -76,7 +76,8 @@ scoped_ptr<char[]> Compress(const std::string& input, size_t* length) {
|
| size_t out_size = deflateBound(&stream, input.size());
|
| scoped_ptr<char[]> out(new char[out_size]);
|
|
|
| - COMPILE_ASSERT(sizeof(uint8) == sizeof(char), uint8_char_different_sizes);
|
| + static_assert(sizeof(uint8) == sizeof(char),
|
| + "uint8 char should be of different sizes");
|
|
|
| stream.next_in = reinterpret_cast<uint8*>(const_cast<char*>(input.data()));
|
| stream.avail_in = input.size();
|
|
|