am 5dfd2805: Merge "Null pointer check missing in chromium"
* commit '5dfd28055043f52c8089d2b26e101de1f66838c8':
Null pointer check missing in chromium
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc
index 117f20b..81c44d5 100644
--- a/net/disk_cache/backend_impl.cc
+++ b/net/disk_cache/backend_impl.cc
@@ -1484,7 +1484,13 @@
new_eviction_ = false;
disabled_ = true;
- data_->header.crash = 0;
+#ifdef ANDROID
+ if (data_) {
+#endif
+ data_->header.crash = 0;
+#ifdef ANDROID
+ }
+#endif
index_ = NULL;
data_ = NULL;
block_files_.CloseFiles();