Index: content/common/gpu/media/exynos_video_decode_accelerator.cc |
diff --git a/content/common/gpu/media/exynos_video_decode_accelerator.cc b/content/common/gpu/media/exynos_video_decode_accelerator.cc |
index 26fe6248fce38cf8f1c19c3d770007a3081ddf32..cfa34433cd66be9f5f9e51fdbe99507aa9cddea9 100644 |
--- a/content/common/gpu/media/exynos_video_decode_accelerator.cc |
+++ b/content/common/gpu/media/exynos_video_decode_accelerator.cc |
@@ -221,13 +221,13 @@ ExynosVideoDecodeAccelerator::~ExynosVideoDecodeAccelerator() { |
DCHECK(!device_poll_thread_.IsRunning()); |
if (device_poll_interrupt_fd_ != -1) { |
- HANDLE_EINTR(close(device_poll_interrupt_fd_)); |
+ close(device_poll_interrupt_fd_); |
device_poll_interrupt_fd_ = -1; |
} |
if (mfc_fd_ != -1) { |
DestroyMfcInputBuffers(); |
DestroyMfcOutputBuffers(); |
- HANDLE_EINTR(close(mfc_fd_)); |
+ close(mfc_fd_); |
mfc_fd_ = -1; |
} |
@@ -1906,7 +1906,7 @@ void ExynosVideoDecodeAccelerator::DestroyMfcOutputBuffers() { |
MfcOutputRecord& output_record = mfc_output_buffer_map_[i]; |
for (size_t j = 0; j < arraysize(output_record.fds); ++j) { |
if (output_record.fds[j] != -1) |
- HANDLE_EINTR(close(output_record.fds[j])); |
+ close(output_record.fds[j]); |
if (output_record.egl_image != EGL_NO_IMAGE_KHR) |
eglDestroyImageKHR(egl_display_, output_record.egl_image); |
if (output_record.egl_sync != EGL_NO_SYNC_KHR) |