summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-08 07:48:10 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-08 07:48:10 +0000
commitdd33a3dc4f6483334d8d32212c49305e7a882971 (patch)
treeaa67dcde1e8c7ea47e973b9ebf06d6adc315ec22
parent0c32bac85f886491e61c3d7f031fa78a50e03729 (diff)
downloadchromium_src-dd33a3dc4f6483334d8d32212c49305e7a882971.zip
chromium_src-dd33a3dc4f6483334d8d32212c49305e7a882971.tar.gz
chromium_src-dd33a3dc4f6483334d8d32212c49305e7a882971.tar.bz2
Remove 2 exit time destructors from webkit/
BUG=101600 TEST=none TBR=darin Review URL: http://codereview.chromium.org/8476007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108981 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/appcache/appcache_storage_impl.cc2
-rw-r--r--webkit/plugins/npapi/webplugin_delegate_impl_mac.mm2
2 files changed, 2 insertions, 2 deletions
diff --git a/webkit/appcache/appcache_storage_impl.cc b/webkit/appcache/appcache_storage_impl.cc
index 69911b7..c6f1849 100644
--- a/webkit/appcache/appcache_storage_impl.cc
+++ b/webkit/appcache/appcache_storage_impl.cc
@@ -791,7 +791,7 @@ class NetworkNamespaceHelper {
}
bool IsInNetworkNamespace(const GURL& url, int64 cache_id) {
- static const std::vector<GURL> kEmptyVector;
+ const std::vector<GURL> kEmptyVector;
typedef std::pair<WhiteListMap::iterator, bool> InsertResult;
InsertResult result = namespaces_map_.insert(
WhiteListMap::value_type(cache_id, kEmptyVector));
diff --git a/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm b/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
index 945cfb0..8e0243a 100644
--- a/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
+++ b/webkit/plugins/npapi/webplugin_delegate_impl_mac.mm
@@ -706,7 +706,7 @@ void WebPluginDelegateImpl::WindowlessPaint(gfx::NativeDrawingContext context,
return;
DCHECK(!use_buffer_context_ || buffer_context_ == context);
- static base::StatsRate plugin_paint("Plugin.Paint");
+ base::StatsRate plugin_paint("Plugin.Paint");
base::StatsScope<base::StatsRate> scope(plugin_paint);
gfx::Rect paint_rect;