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

Unified Diff: tools/json_schema_compiler/cpp_bundle_generator.py

Issue 2733283002: Require explicit selection of traits for LazyInstance (Closed)
Patch Set: l10n again 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: tools/json_schema_compiler/cpp_bundle_generator.py
diff --git a/tools/json_schema_compiler/cpp_bundle_generator.py b/tools/json_schema_compiler/cpp_bundle_generator.py
index 88e0f36eb941ff35a2003beab195719483a08164..bb7f041b95eee95b598dee6ad1820ae5c4a7e5ac 100644
--- a/tools/json_schema_compiler/cpp_bundle_generator.py
+++ b/tools/json_schema_compiler/cpp_bundle_generator.py
@@ -360,7 +360,7 @@ class _SchemasCCGenerator(object):
c.Append('std::map<std::string, const char*> schemas;')
c.Eblock('};')
c.Append()
- c.Append('base::LazyInstance<Static> g_lazy_instance;')
+ c.Append('base::LazyInstance<Static>::DestructorAtExit g_lazy_instance;')
c.Append()
c.Append('} // namespace')
c.Append()
« no previous file with comments | « third_party/libaddressinput/chromium/string_compare.cc ('k') | ui/accelerated_widget_mac/accelerated_widget_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698