Index: base/path_service.cc |
diff --git a/base/path_service.cc b/base/path_service.cc |
index 97a0ce5c02c932be4acb46284c439ef7dd50eeec..3b9b69e17375813eb97b2ff0fa6bcf4e53d7f59e 100644 |
--- a/base/path_service.cc |
+++ b/base/path_service.cc |
@@ -126,19 +126,9 @@ struct PathData { |
providers = &base_provider_posix; |
#endif |
} |
- |
- ~PathData() { |
- Provider* p = providers; |
- while (p) { |
- Provider* next = p->next; |
- if (!p->is_static) |
- delete p; |
- p = next; |
- } |
- } |
}; |
-static LazyInstance<PathData> g_path_data = LAZY_INSTANCE_INITIALIZER; |
+static LazyInstance<PathData>::Leaky g_path_data = LAZY_INSTANCE_INITIALIZER; |
static PathData* GetPathData() { |
return g_path_data.Pointer(); |