summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkitclient_impl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webkitclient_impl.cc')
-rw-r--r--webkit/glue/webkitclient_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/webkitclient_impl.cc b/webkit/glue/webkitclient_impl.cc
index 2ac34f8..6f6a43c 100644
--- a/webkit/glue/webkitclient_impl.cc
+++ b/webkit/glue/webkitclient_impl.cc
@@ -408,7 +408,7 @@ static size_t memoryUsageMBGeneric() {
#endif
size_t WebKitClientImpl::memoryUsageMB() {
- size_t current_mem_usage;
+ size_t current_mem_usage = 0;
MemoryUsageCache* mem_usage_cache_singleton = MemoryUsageCache::Get();
if (mem_usage_cache_singleton->IsCachedValueValid(&current_mem_usage))
return current_mem_usage;