summaryrefslogtreecommitdiffstats
path: root/components/drive
diff options
context:
space:
mode:
authorbattre <battre@chromium.org>2015-08-26 03:47:41 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-26 10:48:24 +0000
commita5f64bd9393a9b17901299276ddea221198b0a9e (patch)
treeafe6fe5685a030a8604448570d287817e9ab3e38 /components/drive
parent39c7e610f80410c52281ffb40e196e2b4c8ba42c (diff)
downloadchromium_src-a5f64bd9393a9b17901299276ddea221198b0a9e.zip
chromium_src-a5f64bd9393a9b17901299276ddea221198b0a9e.tar.gz
chromium_src-a5f64bd9393a9b17901299276ddea221198b0a9e.tar.bz2
Initialize cache_size to fix windows compilation
BUG=522808 TBR=mtomasz@chromium.org,yawano@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/1316923002 Cr-Commit-Position: refs/heads/master@{#345580}
Diffstat (limited to 'components/drive')
-rw-r--r--components/drive/file_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drive/file_cache.cc b/components/drive/file_cache.cc
index 51d0bfa..0638844 100644
--- a/components/drive/file_cache.cc
+++ b/components/drive/file_cache.cc
@@ -118,7 +118,7 @@ uint64_t FileCache::CalculateEvictableCacheSize() {
AssertOnSequencedWorkerPool();
uint64_t evictable_cache_size = 0;
- int64_t cache_size;
+ int64_t cache_size = 0;
scoped_ptr<ResourceMetadataStorage::Iterator> it = storage_->GetIterator();
for (; !it->IsAtEnd(); it->Advance()) {