summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
Diffstat (limited to 'webkit')
-rw-r--r--webkit/glue/webkitclient_impl.cc2
-rw-r--r--webkit/support/default_plugin_stubs_win.cc2
2 files changed, 2 insertions, 2 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;
diff --git a/webkit/support/default_plugin_stubs_win.cc b/webkit/support/default_plugin_stubs_win.cc
index 9f62a0e..f728d1e 100644
--- a/webkit/support/default_plugin_stubs_win.cc
+++ b/webkit/support/default_plugin_stubs_win.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// These are stubs for default_plugin which isn't current build in
+// These are stubs for default_plugin which isn't currently built in
// a webkit only checkout.
#include "base/logging.h"