Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(546)

Unified Diff: components/nacl/renderer/plugin/utility.cc

Issue 1640523002: PNaCl cleanup: Reuse base::File for closing a handle/FD (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/renderer/plugin/utility.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/renderer/plugin/utility.cc
diff --git a/components/nacl/renderer/plugin/utility.cc b/components/nacl/renderer/plugin/utility.cc
index 0a2536833a046f4409089a778ea8c96ba246f8fc..14c770f79bb1492e8038240ec8fe741f431d5770 100644
--- a/components/nacl/renderer/plugin/utility.cc
+++ b/components/nacl/renderer/plugin/utility.cc
@@ -73,12 +73,4 @@ void SetNaClInterface(const PPB_NaCl_Private* nacl_interface) {
g_nacl_interface = nacl_interface;
}
-void CloseFileHandle(PP_FileHandle file_handle) {
-#if NACL_WINDOWS
- CloseHandle(file_handle);
-#else
- close(file_handle);
-#endif
-}
-
} // namespace plugin
« no previous file with comments | « components/nacl/renderer/plugin/utility.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698