From dd33a3dc4f6483334d8d32212c49305e7a882971 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Tue, 8 Nov 2011 07:48:10 +0000 Subject: 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 --- webkit/appcache/appcache_storage_impl.cc | 2 +- webkit/plugins/npapi/webplugin_delegate_impl_mac.mm | 2 +- 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 kEmptyVector; + const std::vector kEmptyVector; typedef std::pair 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 scope(plugin_paint); gfx::Rect paint_rect; -- cgit v1.1