Chromium Code Reviews| Index: ipc/ipc_channel_win.cc |
| diff --git a/ipc/ipc_channel_win.cc b/ipc/ipc_channel_win.cc |
| index 2ad638b2f67ee4b2f76e03ca7ba7d50117ef8e9b..379f77bd9e1c6f4dc051e8c6ce21cc0b6072da3e 100644 |
| --- a/ipc/ipc_channel_win.cc |
| +++ b/ipc/ipc_channel_win.cc |
| @@ -29,8 +29,9 @@ ChannelWin::State::State(ChannelWin* channel) : is_pending(false) { |
| } |
| ChannelWin::State::~State() { |
| - COMPILE_ASSERT(!offsetof(ChannelWin::State, context), |
| - starts_with_io_context); |
| + static_assert(offsetof(ChannelWin::State, context) == 0, |
| + "ChannelWin::State should have context as its first data" |
| + "member"); |
|
dmichael (off chromium)
2015/01/21 16:21:23
Please add a period to end the sentence.
"member.
|
| } |
| ChannelWin::ChannelWin(const IPC::ChannelHandle &channel_handle, |