| Index: chrome/utility/chrome_content_utility_client.cc
|
| diff --git a/chrome/utility/chrome_content_utility_client.cc b/chrome/utility/chrome_content_utility_client.cc
|
| index a813cef5d3e35573a7c5e9fa26b08f5222105a9b..fa23ff226ca655285d080b9c13fe9e124de74a3f 100644
|
| --- a/chrome/utility/chrome_content_utility_client.cc
|
| +++ b/chrome/utility/chrome_content_utility_client.cc
|
| @@ -249,6 +249,9 @@ void ChromeContentUtilityClient::OnCreateZipFile(
|
| const base::FilePath& src_dir,
|
| const std::vector<base::FilePath>& src_relative_paths,
|
| const base::FileDescriptor& dest_fd) {
|
| + // dest_fd should be closed in the function. See ipc/ipc_message_util.h for
|
| + // details.
|
| + base::ScopedFD fd_closer(dest_fd.fd);
|
| bool succeeded = true;
|
|
|
| // Check sanity of source relative paths. Reject if path is absolute or
|
|
|