Index: content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc |
diff --git a/content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc b/content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc |
index 05cdb8d9ecf4ddc6300e2457ff6ad5dc34cbffc8..c9e101528c220db35e0305daeeb28034f25f8725 100644 |
--- a/content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc |
+++ b/content/common/gpu/client/gpu_jpeg_decode_accelerator_host.cc |
@@ -164,7 +164,7 @@ void GpuJpegDecodeAcceleratorHost::Decode( |
channel_->ShareToGpuProcess(video_frame->shared_memory_handle()); |
if (!base::SharedMemory::IsHandleValid(output_handle)) { |
DLOG(ERROR) << "Failed to duplicate handle of VideoFrame"; |
-#if defined(OS_POSIX) && !(defined(OS_MACOSX) && !defined(OS_IOS)) |
+#if defined(OS_POSIX) && !defined(OS_MACOSX) |
if (input_handle.auto_close) { |
// Defer closing task to the ScopedFD. |
base::ScopedFD(input_handle.fd); |