Index: components/nacl/browser/nacl_file_host.cc |
diff --git a/components/nacl/browser/nacl_file_host.cc b/components/nacl/browser/nacl_file_host.cc |
index 44a1c838451dc1045f071e83e4d04e2a074d51c8..80eab39e37be9ba3e64630fc320cc090a028e85b 100644 |
--- a/components/nacl/browser/nacl_file_host.cc |
+++ b/components/nacl/browser/nacl_file_host.cc |
@@ -133,8 +133,7 @@ void DoOpenNaClExecutableOnThreadPool( |
return; |
} |
- base::PlatformFile file; |
- nacl::OpenNaClExecutableImpl(file_path, &file); |
+ base::PlatformFile file = nacl::OpenNaClExecutableImpl(file_path); |
if (file != base::kInvalidPlatformFileValue) { |
// This function is running on the blocking pool, but the path needs to be |
// registered in a structure owned by the IO thread. |