Index: mojo/edk/embedder/platform_handle.cc |
diff --git a/mojo/edk/embedder/platform_handle.cc b/mojo/edk/embedder/platform_handle.cc |
deleted file mode 100644 |
index 570aac9c2e896efb337169fde0546cd21a20fb90..0000000000000000000000000000000000000000 |
--- a/mojo/edk/embedder/platform_handle.cc |
+++ /dev/null |
@@ -1,24 +0,0 @@ |
-// Copyright 2013 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 "mojo/edk/embedder/platform_handle.h" |
- |
-#include <unistd.h> |
- |
-#include "base/logging.h" |
- |
-namespace mojo { |
-namespace embedder { |
- |
-void PlatformHandle::CloseIfNecessary() { |
- if (!is_valid()) |
- return; |
- |
- bool success = (close(fd) == 0); |
- DPCHECK(success); |
- fd = -1; |
-} |
- |
-} // namespace embedder |
-} // namespace mojo |