Chromium Code Reviews| Index: components/nacl/browser/nacl_process_host.cc |
| diff --git a/components/nacl/browser/nacl_process_host.cc b/components/nacl/browser/nacl_process_host.cc |
| index e5a507ffea418a7b7c579ef1a3915bb5c84b3ddd..2a38e333b3aed1716d49258de1b7c06a6d8e00a5 100644 |
| --- a/components/nacl/browser/nacl_process_host.cc |
| +++ b/components/nacl/browser/nacl_process_host.cc |
| @@ -211,7 +211,8 @@ unsigned NaClProcessHost::keepalive_throttle_interval_milliseconds_ = |
| // that this only takes a transferred IPC::ChannelHandle or one to be |
| // transferred via IPC. |
| class NaClProcessHost::ScopedChannelHandle { |
| - MOVE_ONLY_TYPE_FOR_CPP_03(ScopedChannelHandle, RValue); |
| + MOVE_ONLY_TYPE_FOR_CPP_03(ScopedChannelHandle); |
| + |
|
dcheng
2015/10/13 21:03:09
clang-format really wants this line.
|
| public: |
| ScopedChannelHandle() { |
| } |
| @@ -219,8 +220,8 @@ class NaClProcessHost::ScopedChannelHandle { |
| : handle_(handle) { |
| DCHECK(IsSupportedHandle(handle_)); |
| } |
| - ScopedChannelHandle(RValue other) : handle_(other.object->handle_) { |
| - other.object->handle_ = IPC::ChannelHandle(); |
| + ScopedChannelHandle(ScopedChannelHandle&& other) : handle_(other.handle_) { |
| + other.handle_ = IPC::ChannelHandle(); |
| DCHECK(IsSupportedHandle(handle_)); |
| } |
| ~ScopedChannelHandle() { |