projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git]
/
src
/
net
/
disk_cache
/
blockfile
/
entry_impl.cc
diff --git
a/src/net/disk_cache/blockfile/entry_impl.cc
b/src/net/disk_cache/blockfile/entry_impl.cc
index
6ff5235
..
3c3b218
100644
(file)
--- a/
src/net/disk_cache/blockfile/entry_impl.cc
+++ b/
src/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]) {