[email protected] | e146bfc | 2012-03-30 06:46:20 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style license that can be | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #include "base/platform_file.h" | ||||
6 | #include "dbus/file_descriptor.h" | ||||
7 | |||||
8 | namespace dbus { | ||||
9 | |||||
10 | FileDescriptor::~FileDescriptor() { | ||||
11 | if (owner_) | ||||
12 | base::ClosePlatformFile(value_); | ||||
13 | } | ||||
14 | |||||
15 | } // namespace dbus |