Index: chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc |
diff --git a/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc b/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc |
index cf5b80be820fd88ffe5d1bb4f0f0c2a102223b62..a57fb744449257754a7e54059d39fd508e8dfab9 100644 |
--- a/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc |
+++ b/chrome/browser/extensions/api/messaging/native_message_process_host_unittest.cc |
@@ -5,7 +5,6 @@ |
#include "base/bind.h" |
#include "base/file_util.h" |
#include "base/files/file_path.h" |
-#include "base/files/scoped_file.h" |
#include "base/files/scoped_temp_dir.h" |
#include "base/json/json_reader.h" |
#include "base/memory/scoped_ptr.h" |
@@ -215,8 +214,8 @@ |
#else // defined(OS_WIN) |
base::PlatformFile pipe_handles[2]; |
ASSERT_EQ(0, pipe(pipe_handles)); |
- base::ScopedFD read_fd(pipe_handles[0]); |
- base::ScopedFD write_fd(pipe_handles[1]); |
+ file_util::ScopedFD read_fd(pipe_handles); |
+ file_util::ScopedFD write_fd(pipe_handles + 1); |
read_file = pipe_handles[0]; |
#endif // !defined(OS_WIN) |