Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1943)

Unified Diff: content/renderer/browser_plugin/browser_plugin.cc

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/renderer/browser_plugin/browser_plugin.cc
diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc
index b6ad4aec9d110f7d280c4e072e74ffc3829b85df..1380398df26a3ccbd1d165d46a1d68e813558baa 100644
--- a/content/renderer/browser_plugin/browser_plugin.cc
+++ b/content/renderer/browser_plugin/browser_plugin.cc
@@ -50,8 +50,8 @@ using blink::WebVector;
namespace {
using PluginContainerMap =
std::map<blink::WebPluginContainer*, content::BrowserPlugin*>;
-static base::LazyInstance<PluginContainerMap> g_plugin_container_map =
- LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<PluginContainerMap>::DestructorAtExit
+ g_plugin_container_map = LAZY_INSTANCE_INITIALIZER;
} // namespace
namespace content {

Powered by Google App Engine
This is Rietveld 408576698