summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkitclient_impl.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 08:13:50 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 08:13:50 +0000
commita5391a30b47461b4e4cf2c7ab0f9a1ca54a40bf8 (patch)
tree104321918c522325477ffb48c0604195e9dd3476 /webkit/glue/webkitclient_impl.cc
parent4ee00de9fe594f1b11f24e3b21520f50688ad5ce (diff)
downloadchromium_src-a5391a30b47461b4e4cf2c7ab0f9a1ca54a40bf8.zip
chromium_src-a5391a30b47461b4e4cf2c7ab0f9a1ca54a40bf8.tar.gz
chromium_src-a5391a30b47461b4e4cf2c7ab0f9a1ca54a40bf8.tar.bz2
Fix arm compile after turning on gcc warnings.
Actually fix a comment that was pointed out during review. TBR=rolandsteiner Review URL: http://codereview.chromium.org/1734003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45165 0039d316-1c4b-4281-b951-d872f2087c98
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;