Index: ppapi/tests/test_file_io.cc |
diff --git a/ppapi/tests/test_file_io.cc b/ppapi/tests/test_file_io.cc |
index 9f88f00b85354841117a1ef8b2cb533df2eaf3ac..83a092c44c2872ced87fe7536cf7bf371e3f8f81 100644 |
--- a/ppapi/tests/test_file_io.cc |
+++ b/ppapi/tests/test_file_io.cc |
@@ -1141,15 +1141,6 @@ std::string TestFileIO::TestWillWriteWillSetLength() { |
if (!trusted) |
return ReportError("FileIOTrusted", PP_ERROR_FAILED); |
- // Get file descriptor. This is only supported in-process for now, so don't |
- // test out of process. |
- const PPB_Testing_Dev* testing_interface = GetTestingInterface(); |
- if (testing_interface && !testing_interface->IsOutOfProcess()) { |
- int32_t fd = trusted->GetOSFileDescriptor(file_io.pp_resource()); |
- if (fd < 0) |
- return "FileIO::GetOSFileDescriptor() returned a bad file descriptor."; |
- } |
- |
// Calling WillWrite. |
rv = trusted->WillWrite( |
file_io.pp_resource(), 0, 9, |