Index: chrome/common/zip.cc |
diff --git a/chrome/common/zip.cc b/chrome/common/zip.cc |
index a5635c0dfa0f7d762dafc6dd0105e7004e8272eb..1da9cffdc9e4e6cc796593f6a03e6439b3c7a014 100644 |
--- a/chrome/common/zip.cc |
+++ b/chrome/common/zip.cc |
@@ -20,7 +20,7 @@ namespace { |
bool AddFileToZip(zipFile zip_file, const FilePath& src_dir) { |
net::FileStream stream(NULL); |
int flags = base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_READ; |
- if (stream.Open(src_dir, flags) != 0) { |
+ if (stream.OpenSync(src_dir, flags) != 0) { |
DLOG(ERROR) << "Could not open stream for path " |
<< src_dir.value(); |
return false; |