| Index: third_party/WebKit/Source/core/mojo/MojoHandle.cpp
|
| diff --git a/third_party/WebKit/Source/core/mojo/MojoHandle.cpp b/third_party/WebKit/Source/core/mojo/MojoHandle.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3c281f41ff4615bbe2d96fe1c0cfbbe39fad45e4
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/mojo/MojoHandle.cpp
|
| @@ -0,0 +1,18 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "core/mojo/MojoHandle.h"
|
| +
|
| +namespace blink {
|
| +
|
| +MojoHandle::MojoHandle(mojo::ScopedHandle handle)
|
| + : m_handle(std::move(handle)) {}
|
| +
|
| +MojoHandle::~MojoHandle() {}
|
| +
|
| +MojoResult MojoHandle::close() {
|
| + return mojo::CloseRaw(m_handle.release());
|
| +}
|
| +
|
| +} // namespace blink
|
|
|