summaryrefslogtreecommitdiff
path: root/base/lazy_instance.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/lazy_instance.h')
-rw-r--r--base/lazy_instance.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/lazy_instance.h b/base/lazy_instance.h
index 5481f905cc..b0d72bcbb5 100644
--- a/base/lazy_instance.h
+++ b/base/lazy_instance.h
@@ -113,7 +113,8 @@ struct LeakyLazyInstanceTraits {
ANNOTATE_SCOPED_MEMORY_LEAK;
return LazyInstanceTraitsBase<Type>::New(instance);
}
- static void Delete(Type*) {}
+ static void Delete(Type* instance) {
+ }
};
template <typename Type>