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() |