Index: components/nacl/renderer/ppb_nacl_private_impl.cc |
diff --git a/components/nacl/renderer/ppb_nacl_private_impl.cc b/components/nacl/renderer/ppb_nacl_private_impl.cc |
index 5e2f9fef13e86a1906c8d29b8b836e0a445cc7c0..ece621defda68a7cd54fd9fb5f686caf07791afc 100644 |
--- a/components/nacl/renderer/ppb_nacl_private_impl.cc |
+++ b/components/nacl/renderer/ppb_nacl_private_impl.cc |
@@ -333,7 +333,7 @@ void LaunchSelLdr(PP_Instance instance, |
routing_id = GetRoutingID(instance); |
if (!routing_id) { |
if (nexe_file_info->handle != PP_kInvalidFileHandle) { |
- base::ClosePlatformFile(nexe_file_info->handle); |
+ base::File closer(nexe_file_info->handle); |
} |
ppapi::PpapiGlobals::Get()->GetMainThreadMessageLoop()->PostTask( |
FROM_HERE, |