Index: net/disk_cache/blockfile/entry_impl.cc |
diff --git a/net/disk_cache/blockfile/entry_impl.cc b/net/disk_cache/blockfile/entry_impl.cc |
index 6ff52358485dfb82abf5bb46456311734cded7c8..3c3b218342df0eae8c389102cc436ba3eccf25d3 100644 |
--- a/net/disk_cache/blockfile/entry_impl.cc |
+++ b/net/disk_cache/blockfile/entry_impl.cc |
@@ -942,7 +942,8 @@ EntryImpl::~EntryImpl() { |
bool ret = true; |
for (int index = 0; index < kNumStreams; index++) { |
if (user_buffers_[index].get()) { |
- if (!(ret = Flush(index, 0))) |
+ ret = Flush(index, 0); |
+ if (!ret) |
LOG(ERROR) << "Failed to save user data"; |
} |
if (unreported_size_[index]) { |