| 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 3dfc1d8c4ac7ad4b1ec5be35ed7774dca2eeb4c5..b1bb710f8da638d26d6548958def42edf81a5643 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);
|
| +
|
| 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() {
|
|
|