| Index: dbus/file_descriptor.cc
|
| diff --git a/dbus/file_descriptor.cc b/dbus/file_descriptor.cc
|
| index d2d6a31f1e3cdc091a2497d04aa6da62c79f3633..e607fc01356d8ca284f0ea1732150a0a43a3bf69 100644
|
| --- a/dbus/file_descriptor.cc
|
| +++ b/dbus/file_descriptor.cc
|
| @@ -2,12 +2,21 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include "base/bind.h"
|
| #include "base/files/file.h"
|
| +#include "base/location.h"
|
| #include "base/logging.h"
|
| +#include "base/threading/worker_pool.h"
|
| #include "dbus/file_descriptor.h"
|
|
|
| namespace dbus {
|
|
|
| +void CHROME_DBUS_EXPORT FileDescriptor::Deleter::operator()(
|
| + FileDescriptor* fd) {
|
| + base::WorkerPool::PostTask(
|
| + FROM_HERE, base::Bind(&base::DeletePointer<FileDescriptor>, fd), false);
|
| +}
|
| +
|
| FileDescriptor::~FileDescriptor() {
|
| if (owner_)
|
| base::File auto_closer(value_);
|
|
|